schemacmds.h 895 B

123456789101112131415161718192021222324252627282930
  1. /*-------------------------------------------------------------------------
  2. *
  3. * schemacmds.h
  4. * prototypes for schemacmds.c.
  5. *
  6. *
  7. * Portions Copyright (c) 1996-2016, 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. #ifndef SCHEMACMDS_H
  15. #define SCHEMACMDS_H
  16. #include "catalog/objectaddress.h"
  17. #include "nodes/parsenodes.h"
  18. extern Oid CreateSchemaCommand(CreateSchemaStmt *parsetree,
  19. const char *queryString);
  20. extern void RemoveSchemaById(Oid schemaOid);
  21. extern ObjectAddress RenameSchema(const char *oldname, const char *newname);
  22. extern ObjectAddress AlterSchemaOwner(const char *name, Oid newOwnerId);
  23. extern void AlterSchemaOwner_oid(Oid schemaOid, Oid newOwnerId);
  24. #endif /* SCHEMACMDS_H */