mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Here is a patch.
I have changed to call pg_exec_query_dest() instead of pg_exec_query(). Thanks. Hiroshi Inoue
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: dbcommands.h,v 1.7 1999/02/13 23:21:18 momjian Exp $
|
||||
* $Id: dbcommands.h,v 1.8 1999/03/16 03:24:18 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
#define SIGKILLDAEMON1 SIGTERM
|
||||
|
||||
extern void createdb(char *dbname, char *dbpath, int encoding);
|
||||
extern void destroydb(char *dbname);
|
||||
extern void createdb(char *dbname, char *dbpath, int encoding, CommandDest);
|
||||
extern void destroydb(char *dbname, CommandDest);
|
||||
|
||||
#endif /* DBCOMMANDS_H */
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#ifndef USER_H
|
||||
#define USER_H
|
||||
|
||||
extern void DefineUser(CreateUserStmt *stmt);
|
||||
extern void AlterUser(AlterUserStmt *stmt);
|
||||
extern void RemoveUser(char *user);
|
||||
extern void DefineUser(CreateUserStmt *stmt, CommandDest);
|
||||
extern void AlterUser(AlterUserStmt *stmt, CommandDest);
|
||||
extern void RemoveUser(char *user, CommandDest);
|
||||
|
||||
#endif /* USER_H */
|
||||
|
||||
Reference in New Issue
Block a user