1 /*-------------------------------------------------------------------------
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 *-------------------------------------------------------------------------
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 */