aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-09-02 23:52:19 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-09-02 23:52:19 +0000
commitdaac2d0ce33aa4fa6450ae98fe14727b5f48659b (patch)
treeb1c2689e3249171e00df242ed0b2b88ccc34fdac /src
parent60ce9e9279376f6f99b10096370dec1e1e9e7596 (diff)
downloadpostgresql-daac2d0ce33aa4fa6450ae98fe14727b5f48659b.tar.gz
postgresql-daac2d0ce33aa4fa6450ae98fe14727b5f48659b.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/bin/psql/command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index 5a674d02b09..3463c2f4f44 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.56 2001/06/08 23:53:48 petere Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.57 2001/09/02 23:52:19 petere Exp $
*/
#include "postgres_fe.h"
#include "command.h"
@@ -241,8 +241,8 @@ exec_command(const char *cmd,
char opt1q,
opt2q;
- opt1 = scan_option(&string, OT_NORMAL, &opt1q);
- opt2 = scan_option(&string, OT_NORMAL, &opt2q);
+ opt1 = scan_option(&string, OT_SQLID, &opt1q);
+ opt2 = scan_option(&string, OT_SQLID, &opt2q);
if (opt2)
/* gave username */