Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc18c321

Browse files
committed
Fix psql crash. If MULTIBYTE is enabled, \l+ dumps core due to
SQL buffer in listAllDbs is just too small.
1 parentffd9aaa commitc18c321

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/psql/describe.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000 by PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.23 2000/07/09 21:30:19 petere Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.24 2000/09/07 04:55:27 ishii Exp $
77
*/
88
#include"postgres.h"
99
#include"describe.h"
@@ -274,7 +274,7 @@ bool
274274
listAllDbs(booldesc)
275275
{
276276
PGresult*res;
277-
charbuf[512];
277+
charbuf[1024];
278278
printQueryOptmyopt=pset.popt;
279279

280280
strcpy(buf,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp