Don't repeatedly register cache callbacks in pgoutput plugin.
[pgsql.git] / src / include / commands / schemacmds.h
blobfed86118ea830eb3d852c96f3c18f45ee3b6a6d0
1 /*-------------------------------------------------------------------------
3 * schemacmds.h
4 * prototypes for schemacmds.c.
7 * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * src/include/commands/schemacmds.h
12 *-------------------------------------------------------------------------
15 #ifndef SCHEMACMDS_H
16 #define SCHEMACMDS_H
18 #include "catalog/objectaddress.h"
19 #include "nodes/parsenodes.h"
21 extern Oid CreateSchemaCommand(CreateSchemaStmt *parsetree,
22 const char *queryString,
23 int stmt_location, int stmt_len);
25 extern void RemoveSchemaById(Oid schemaOid);
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);
31 #endif /* SCHEMACMDS_H */