Commit a343b2e7 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Coerce a function argument to avoid compiler warning.

parent 439fb6c4
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.32 1997/12/04 00:27:24 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.33 1998/01/01 05:48:14 thomas Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -56,6 +56,9 @@ ...@@ -56,6 +56,9 @@
#include "utils/syscache.h" #include "utils/syscache.h"
#endif #endif
void DefineUser(CreateUserStmt *stmt);
void AlterUser(AlterUserStmt *stmt);
void RemoveUser(char *username);
/* ---------------- /* ----------------
* CHECK_IF_ABORTED() is used to avoid doing unnecessary * CHECK_IF_ABORTED() is used to avoid doing unnecessary
...@@ -239,13 +242,12 @@ ProcessUtility(Node * parsetree, ...@@ -239,13 +242,12 @@ ProcessUtility(Node * parsetree,
CHECK_IF_ABORTED(); CHECK_IF_ABORTED();
/* /*
* owner checking done in PerformAddAttribute (now * owner checking done in PerformAddAttribute (now recursive)
* recursive)
*/ */
PerformAddAttribute(stmt->relname, PerformAddAttribute(stmt->relname,
userName, userName,
stmt->inh, stmt->inh,
stmt->colDef); (ColumnDef *)stmt->colDef);
} }
break; break;
......
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