1 /*------------------------------------------------------------------------- 2 * 3 * schemacmds.h 4 * prototypes for schemacmds.c. 5 * 6 * 7 * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group 8 * Portions Copyright (c) 1994, Regents of the University of California 9 * 10 * src/include/commands/schemacmds.h 11 * 12 *------------------------------------------------------------------------- 13 */ 14 15 #ifndef SCHEMACMDS_H 16 #define SCHEMACMDS_H 17 18 #include "catalog/objectaddress.h" 19 #include "nodes/parsenodes.h" 20 21 extern Oid CreateSchemaCommand(CreateSchemaStmt *parsetree, 22 const char *queryString, 23 int stmt_location, int stmt_len); 24 25 extern void RemoveSchemaById(Oid schemaOid); 26 27 extern ObjectAddress RenameSchema(const char *oldname, const char *newname); 28 extern ObjectAddress AlterSchemaOwner(const char *name, Oid newOwnerId); 29 extern void AlterSchemaOwner_oid(Oid schemaOid, Oid newOwnerId); 30 31 #endif /* SCHEMACMDS_H */ 32