mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Coerce a function argument to avoid compiler warning.
This commit is contained in:
parent
439fb6c4fb
commit
a343b2e713
@ -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 @@
|
|||||||
#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,
|
|||||||
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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user