]> granicus.if.org Git - postgresql/blob - src/include/commands/schemacmds.h
Rename DLLIMPORT macro to PGDLLIMPORT to avoid conflict with
[postgresql] / src / include / commands / schemacmds.h
1 /*-------------------------------------------------------------------------
2  *
3  * schemacmds.h
4  *        prototypes for schemacmds.c.
5  *
6  *
7  * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $PostgreSQL: pgsql/src/include/commands/schemacmds.h,v 1.16 2007/03/13 00:33:43 tgl Exp $
11  *
12  *-------------------------------------------------------------------------
13  */
14
15 #ifndef SCHEMACMDS_H
16 #define SCHEMACMDS_H
17
18 #include "nodes/parsenodes.h"
19
20 extern void CreateSchemaCommand(CreateSchemaStmt *parsetree,
21                                                                 const char *queryString);
22
23 extern void RemoveSchema(List *names, DropBehavior behavior, bool missing_ok);
24 extern void RemoveSchemaById(Oid schemaOid);
25
26 extern void RenameSchema(const char *oldname, const char *newname);
27 extern void AlterSchemaOwner(const char *name, Oid newOwnerId);
28 extern void AlterSchemaOwner_oid(Oid schemaOid, Oid newOwnerId);
29
30 #endif   /* SCHEMACMDS_H */