projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e0b37a
)
Fix psql crash. If MULTIBYTE is enabled, \l+ dumps core due to
author
Tatsuo Ishii
<ishii@postgresql.org>
Thu, 7 Sep 2000 04:55:27 +0000
(
04:55
+0000)
committer
Tatsuo Ishii
<ishii@postgresql.org>
Thu, 7 Sep 2000 04:55:27 +0000
(
04:55
+0000)
SQL buffer in listAllDbs is just too small.
src/bin/psql/describe.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/describe.c
b/src/bin/psql/describe.c
index 7e6a672e7f98142a8e8e3077de824d8ef6f15389..6423faf0276bc0cab4c756553d5ce45e1b3b8741 100644
(file)
--- a/
src/bin/psql/describe.c
+++ b/
src/bin/psql/describe.c
@@
-274,7
+274,7
@@
bool
listAllDbs(bool desc)
{
PGresult *res;
- char buf[
512
];
+ char buf[
1024
];
printQueryOpt myopt = pset.popt;
strcpy(buf,