subscriptioncmds.h 1.0 KB

1234567891011121314151617181920212223242526272829
  1. /*-------------------------------------------------------------------------
  2. *
  3. * subscriptioncmds.h
  4. * prototypes for subscriptioncmds.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/subscriptioncmds.h
  11. *
  12. *-------------------------------------------------------------------------
  13. */
  14. #ifndef SUBSCRIPTIONCMDS_H
  15. #define SUBSCRIPTIONCMDS_H
  16. #include "catalog/objectaddress.h"
  17. #include "parser/parse_node.h"
  18. extern ObjectAddress CreateSubscription(ParseState *pstate, CreateSubscriptionStmt *stmt,
  19. bool isTopLevel);
  20. extern ObjectAddress AlterSubscription(ParseState *pstate, AlterSubscriptionStmt *stmt, bool isTopLevel);
  21. extern void DropSubscription(DropSubscriptionStmt *stmt, bool isTopLevel);
  22. extern ObjectAddress AlterSubscriptionOwner(const char *name, Oid newOwnerId);
  23. extern void AlterSubscriptionOwner_oid(Oid subid, Oid newOwnerId);
  24. #endif /* SUBSCRIPTIONCMDS_H */