File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5
5
*
6
6
* Copyright (c) 1994, Regents of the University of California
7
7
*
8
- * $Id: user.c,v 1.39 1999/11/30 03:57:23 momjian Exp $
8
+ * $Id: user.c,v 1.40 1999/11/30 04:29:56 momjian Exp $
9
9
*
10
10
*-------------------------------------------------------------------------
11
11
*/
@@ -282,7 +282,7 @@ AlterUser(AlterUserStmt *stmt, CommandDest dest)
282
282
}
283
283
284
284
/* look for duplicate sysid */
285
- tuple = SearchSysCacheTuple (USESYSID ,
285
+ tuple = SearchSysCacheTuple (SHADOWSYSID ,
286
286
Int32GetDatum (stmt -> sysid ),
287
287
0 , 0 , 0 );
288
288
if (HeapTupleIsValid (tuple ))
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ static struct _helpStruct QL_HELP[] = {
24
24
25
25
{ "ALTER USER" ,
26
26
"Modifies user account information" ,
27
- "ALTER USER username [ WITH PASSWORD password ]\n [ CREATEDB | NOCREATEDB ] [ CREATEUSER | NOCREATEUSER ]\n [ IN GROUP groupname [, ...] ]\n [ VALID UNTIL 'abstime' ]" },
27
+ "ALTER USER username\n [ WITH\n [ SYSID uid ]\n [ PASSWORD password ] ]\n [ CREATEDB | NOCREATEDB ] [ CREATEUSER | NOCREATEUSER ]\n [ IN GROUP groupname [, ...] ]\n [ VALID UNTIL 'abstime' ]" },
28
28
29
29
{ "BEGIN" ,
30
30
"Begins a transaction in chained mode" ,
@@ -100,7 +100,7 @@ static struct _helpStruct QL_HELP[] = {
100
100
101
101
{ "CREATE USER" ,
102
102
"Creates account information for a new user" ,
103
- "CREATE USER username\n [ WITH PASSWORD password ]\n [ CREATEDB | NOCREATEDB ] [ CREATEUSER | NOCREATEUSER ]\n [ IN GROUP groupname [, ...] ]\n [ VALID UNTIL 'abstime' ]" },
103
+ "CREATE USER username\n [ WITH\n [ SYSID uid ]\n [ PASSWORD password ] ]\n [ CREATEDB | NOCREATEDB ] [ CREATEUSER | NOCREATEUSER ]\n [ IN GROUP groupname [, ...] ]\n [ VALID UNTIL 'abstime' ]" },
104
104
105
105
{ "CREATE VIEW" ,
106
106
"Constructs a virtual table" ,
You can’t perform that action at this time.
0 commit comments