Skip to content

Commit 1f64926

Browse files
committed
Fix compile error on older patch.
1 parent eebfb9b commit 1f64926

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/backend/commands/user.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
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 $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -282,7 +282,7 @@ AlterUser(AlterUserStmt *stmt, CommandDest dest)
282282
}
283283

284284
/* look for duplicate sysid */
285-
tuple = SearchSysCacheTuple(USESYSID,
285+
tuple = SearchSysCacheTuple(SHADOWSYSID,
286286
Int32GetDatum(stmt->sysid),
287287
0, 0, 0);
288288
if (HeapTupleIsValid(tuple))

src/bin/psql/sql_help.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ static struct _helpStruct QL_HELP[] = {
2424

2525
{ "ALTER USER",
2626
"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' ]" },
2828

2929
{ "BEGIN",
3030
"Begins a transaction in chained mode",
@@ -100,7 +100,7 @@ static struct _helpStruct QL_HELP[] = {
100100

101101
{ "CREATE USER",
102102
"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' ]" },
104104

105105
{ "CREATE VIEW",
106106
"Constructs a virtual table",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy