2
0

schemacmds.h 897 B

1234567891011121314151617181920212223242526272829
  1. /*-------------------------------------------------------------------------
  2. *
  3. * schemacmds.h
  4. * prototypes for schemacmds.c.
  5. *
  6. *
  7. * Portions Copyright (c) 1996-2022, 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. int stmt_location, int stmt_len);
  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 */