00001 /*------------------------------------------------------------------------- 00002 * 00003 * schemacmds.h 00004 * prototypes for schemacmds.c. 00005 * 00006 * 00007 * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group 00008 * Portions Copyright (c) 1994, Regents of the University of California 00009 * 00010 * src/include/commands/schemacmds.h 00011 * 00012 *------------------------------------------------------------------------- 00013 */ 00014 00015 #ifndef SCHEMACMDS_H 00016 #define SCHEMACMDS_H 00017 00018 #include "nodes/parsenodes.h" 00019 00020 extern Oid CreateSchemaCommand(CreateSchemaStmt *parsetree, 00021 const char *queryString); 00022 00023 extern void RemoveSchemaById(Oid schemaOid); 00024 00025 extern Oid RenameSchema(const char *oldname, const char *newname); 00026 extern Oid AlterSchemaOwner(const char *name, Oid newOwnerId); 00027 extern void AlterSchemaOwner_oid(Oid schemaOid, Oid newOwnerId); 00028 00029 #endif /* SCHEMACMDS_H */