projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dae17e5
)
Fix psql crash. If MULTIBYTE is enabled, \l+ dumps core due to
author
Tatsuo Ishii
<
[email protected]
>
Thu, 7 Sep 2000 04:53:32 +0000
(
04:53
+0000)
committer
Tatsuo Ishii
<
[email protected]
>
Thu, 7 Sep 2000 04:53:32 +0000
(
04:53
+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 a9285b7bb49e0a9108b452d88358595814f8573f..50fdc4116d965dae54861f9477a37448f39087ba 100644
(file)
--- a/
src/bin/psql/describe.c
+++ b/
src/bin/psql/describe.c
@@
-3,7
+3,7
@@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.21
2000/04/16 20:04:51 petere
Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.21
.2.1 2000/09/07 04:53:32 ishii
Exp $
*/
#include "postgres.h"
#include "describe.h"
@@
-277,7
+277,7
@@
bool
listAllDbs(bool desc)
{
PGresult *res;
- char buf[
512
];
+ char buf[
1024
];
printQueryOpt myopt = pset.popt;
strcpy(buf,