PostgreSQL Source Code  git master
subscriptioncmds.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * subscriptioncmds.h
4  * prototypes for subscriptioncmds.c.
5  *
6  *
7  * Portions Copyright (c) 1996-2024, 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 
15 #ifndef SUBSCRIPTIONCMDS_H
16 #define SUBSCRIPTIONCMDS_H
17 
18 #include "catalog/objectaddress.h"
19 #include "parser/parse_node.h"
20 
22  bool isTopLevel);
23 extern ObjectAddress AlterSubscription(ParseState *pstate, AlterSubscriptionStmt *stmt, bool isTopLevel);
24 extern void DropSubscription(DropSubscriptionStmt *stmt, bool isTopLevel);
25 
26 extern ObjectAddress AlterSubscriptionOwner(const char *name, Oid newOwnerId);
27 extern void AlterSubscriptionOwner_oid(Oid subid, Oid newOwnerId);
28 
29 extern char defGetStreamingMode(DefElem *def);
30 
31 #endif /* SUBSCRIPTIONCMDS_H */
#define stmt
Definition: indent_codes.h:59
unsigned int Oid
Definition: postgres_ext.h:31
void DropSubscription(DropSubscriptionStmt *stmt, bool isTopLevel)
char defGetStreamingMode(DefElem *def)
ObjectAddress CreateSubscription(ParseState *pstate, CreateSubscriptionStmt *stmt, bool isTopLevel)
ObjectAddress AlterSubscriptionOwner(const char *name, Oid newOwnerId)
void AlterSubscriptionOwner_oid(Oid subid, Oid newOwnerId)
ObjectAddress AlterSubscription(ParseState *pstate, AlterSubscriptionStmt *stmt, bool isTopLevel)
const char * name