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

Commitdaac2d0

Browse files
committed
Parse the arguments of \connect as SQL identifiers, so that they expose
the expected behavior in mixed-case situations.bug report from James Pattie, 2001-08-31
1 parent60ce9e9 commitdaac2d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/bin/psql/command.c

Lines changed: 3 additions & 3 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/command.c,v 1.56 2001/06/08 23:53:48 petere Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.57 2001/09/02 23:52:19 petere Exp $
77
*/
88
#include"postgres_fe.h"
99
#include"command.h"
@@ -241,8 +241,8 @@ exec_command(const char *cmd,
241241
charopt1q,
242242
opt2q;
243243

244-
opt1=scan_option(&string,OT_NORMAL,&opt1q);
245-
opt2=scan_option(&string,OT_NORMAL,&opt2q);
244+
opt1=scan_option(&string,OT_SQLID,&opt1q);
245+
opt2=scan_option(&string,OT_SQLID,&opt2q);
246246

247247
if (opt2)
248248
/* gave username */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp