1 /*-------------------------------------------------------------------------
4 * prototypes for subscriptioncmds.c.
7 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * src/include/commands/subscriptioncmds.h
12 *-------------------------------------------------------------------------
15 #ifndef SUBSCRIPTIONCMDS_H
16 #define SUBSCRIPTIONCMDS_H
18 #include "catalog/objectaddress.h"
19 #include "parser/parse_node.h"
21 extern ObjectAddress
CreateSubscription(ParseState
*pstate
, CreateSubscriptionStmt
*stmt
,
23 extern ObjectAddress
AlterSubscription(ParseState
*pstate
, AlterSubscriptionStmt
*stmt
, bool isTopLevel
);
24 extern void DropSubscription(DropSubscriptionStmt
*stmt
, bool isTopLevel
);
26 extern ObjectAddress
AlterSubscriptionOwner(const char *name
, Oid newOwnerId
);
27 extern void AlterSubscriptionOwner_oid(Oid subid
, Oid newOwnerId
);
29 extern char defGetStreamingMode(DefElem
*def
);
31 #endif /* SUBSCRIPTIONCMDS_H */