]> granicus.if.org Git - postgresql/blob - src/include/commands/dbcommands.h
has_table_privilege spawns scions has_database_privilege, has_function_privilege,
[postgresql] / src / include / commands / dbcommands.h
1 /*-------------------------------------------------------------------------
2  *
3  * dbcommands.h
4  *
5  *
6  *
7  * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $Id: dbcommands.h,v 1.25 2002/08/09 16:45:16 tgl Exp $
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef DBCOMMANDS_H
15 #define DBCOMMANDS_H
16
17 #include <nodes/parsenodes.h>
18
19 extern void createdb(const CreatedbStmt *stmt);
20 extern void dropdb(const char *dbname);
21 extern void AlterDatabaseSet(AlterDatabaseSetStmt *stmt);
22
23 extern Oid      get_database_oid(const char *dbname);
24 extern Oid      get_database_owner(Oid dbid);
25
26 #endif   /* DBCOMMANDS_H */