Commit 1f649269 authored by Bruce Momjian's avatar Bruce Momjian

Fix compile error on older patch.

parent eebfb9ba
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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) ...@@ -282,7 +282,7 @@ AlterUser(AlterUserStmt *stmt, CommandDest dest)
} }
/* look for duplicate sysid */ /* look for duplicate sysid */
tuple = SearchSysCacheTuple(USESYSID, tuple = SearchSysCacheTuple(SHADOWSYSID,
Int32GetDatum(stmt->sysid), Int32GetDatum(stmt->sysid),
0, 0, 0); 0, 0, 0);
if (HeapTupleIsValid(tuple)) if (HeapTupleIsValid(tuple))
......
...@@ -24,7 +24,7 @@ static struct _helpStruct QL_HELP[] = { ...@@ -24,7 +24,7 @@ static struct _helpStruct QL_HELP[] = {
{ "ALTER USER", { "ALTER USER",
"Modifies user account information", "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", { "BEGIN",
"Begins a transaction in chained mode", "Begins a transaction in chained mode",
...@@ -100,7 +100,7 @@ static struct _helpStruct QL_HELP[] = { ...@@ -100,7 +100,7 @@ static struct _helpStruct QL_HELP[] = {
{ "CREATE USER", { "CREATE USER",
"Creates account information for a new 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", { "CREATE VIEW",
"Constructs a virtual table", "Constructs a virtual table",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment