aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-11-30 04:29:57 +0000
committerBruce Momjian <bruce@momjian.us>1999-11-30 04:29:57 +0000
commit1f64926953f1344e00d34b951cb078d7ca7a73b7 (patch)
treeb9d73dc97644c556f2b1d8bca81a689195e9c13c /src
parenteebfb9baa517b2680cf963b74e4c6a9fb12a1df2 (diff)
downloadpostgresql-1f64926953f1344e00d34b951cb078d7ca7a73b7.tar.gz
postgresql-1f64926953f1344e00d34b951cb078d7ca7a73b7.zip
Fix compile error on older patch.
Diffstat (limited to 'src')
-rw-r--r--src/backend/commands/user.c4
-rw-r--r--src/bin/psql/sql_help.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/commands/user.c b/src/backend/commands/user.c
index 044779b7ee2..2360cc3bb80 100644
--- a/src/backend/commands/user.c
+++ b/src/backend/commands/user.c
@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: user.c,v 1.39 1999/11/30 03:57:23 momjian Exp $
+ * $Id: user.c,v 1.40 1999/11/30 04:29:56 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -282,7 +282,7 @@ AlterUser(AlterUserStmt *stmt, CommandDest dest)
}
/* look for duplicate sysid */
- tuple = SearchSysCacheTuple(USESYSID,
+ tuple = SearchSysCacheTuple(SHADOWSYSID,
Int32GetDatum(stmt->sysid),
0, 0, 0);
if (HeapTupleIsValid(tuple))
diff --git a/src/bin/psql/sql_help.h b/src/bin/psql/sql_help.h
index 65ca26fd36f..520f1a29f45 100644
--- a/src/bin/psql/sql_help.h
+++ b/src/bin/psql/sql_help.h
@@ -24,7 +24,7 @@ static struct _helpStruct QL_HELP[] = {
{ "ALTER USER",
"Modifies user account information",
- "ALTER USER username [ WITH PASSWORD password ]\n [ CREATEDB | NOCREATEDB ] [ CREATEUSER | NOCREATEUSER ]\n [ IN GROUP groupname [, ...] ]\n [ VALID UNTIL 'abstime' ]" },
+ "ALTER USER username\n [ WITH\n [ SYSID uid ]\n [ PASSWORD password ] ]\n [ CREATEDB | NOCREATEDB ] [ CREATEUSER | NOCREATEUSER ]\n [ IN GROUP groupname [, ...] ]\n [ VALID UNTIL 'abstime' ]" },
{ "BEGIN",
"Begins a transaction in chained mode",
@@ -100,7 +100,7 @@ static struct _helpStruct QL_HELP[] = {
{ "CREATE USER",
"Creates account information for a new user",
- "CREATE USER username\n [ WITH PASSWORD password ]\n [ CREATEDB | NOCREATEDB ] [ CREATEUSER | NOCREATEUSER ]\n [ IN GROUP groupname [, ...] ]\n [ VALID UNTIL 'abstime' ]" },
+ "CREATE USER username\n [ WITH\n [ SYSID uid ]\n [ PASSWORD password ] ]\n [ CREATEDB | NOCREATEDB ] [ CREATEUSER | NOCREATEUSER ]\n [ IN GROUP groupname [, ...] ]\n [ VALID UNTIL 'abstime' ]" },
{ "CREATE VIEW",
"Constructs a virtual table",