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

Commitcd61650

Browse files
committed
Fix bug in psql.
per report from sugita@sra.co.jp on Thu, 09 May 2002 11:57:51 +0900(JST) at pgsql-patches list.Illegal long options to pg_dump makes core on some systems, since itlacks the last null sentinel of struct option array.Attached is a patch made by Mr. Ishida Akio <iakio@pjam.jpweb.net>.
1 parente25c93c commitcd61650

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/bin/psql/startup.c

Lines changed: 2 additions & 1 deletion
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/startup.c,v 1.56 2002/04/10 22:47:04 petere Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/startup.c,v 1.57 2002/05/14 04:20:15 ishii Exp $
77
*/
88
#include"postgres_fe.h"
99

@@ -361,6 +361,7 @@ parse_psql_options(int argc, char *argv[], struct adhoc_opts * options)
361361
{"expanded",no_argument,NULL,'x'},
362362
{"no-psqlrc",no_argument,NULL,'X'},
363363
{"help",no_argument,NULL,'?'},
364+
{NULL,0,NULL,0}
364365
};
365366

366367
intoptindex;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp