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

Commit1f64926

Browse files
committed
Fix compile error on older patch.
1 parenteebfb9b commit1f64926

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/3003:57:23 momjian Exp $
8+
* $Id: user.c,v 1.40 1999/11/3004: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[ WITHPASSWORD 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 [ WITHPASSWORD 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)

[8]ページ先頭

©2009-2025 Movatter.jp