PostgreSQL Source Code: src/include/commands/subscriptioncmds.h Source File

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-2025, 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
21extern ObjectAddress CreateSubscription(ParseState *pstate, CreateSubscriptionStmt *stmt,
22 bool isTopLevel);
23extern ObjectAddress AlterSubscription(ParseState *pstate, AlterSubscriptionStmt *stmt, bool isTopLevel);
24extern void DropSubscription(DropSubscriptionStmt *stmt, bool isTopLevel);
25
26extern ObjectAddress AlterSubscriptionOwner(const char *name, Oid newOwnerId);
27extern void AlterSubscriptionOwner_oid(Oid subid, Oid newOwnerId);
28
29extern char defGetStreamingMode(DefElem *def);
30
31extern ObjectAddress AlterSubscription(ParseState *pstate, AlterSubscriptionStmt *stmt, bool isTopLevel);
32
33extern void CheckSubDeadTupleRetention(bool check_guc, bool sub_disabled,
34 int elevel_for_sub_disabled,
35 bool retain_dead_tuples,
36 bool retention_active,
37 bool max_retention_set);
38
39#endif /* SUBSCRIPTIONCMDS_H */
#define stmt
Definition: indent_codes.h:59
unsigned int Oid
Definition: postgres_ext.h:32
void DropSubscription(DropSubscriptionStmt *stmt, bool isTopLevel)
char defGetStreamingMode(DefElem *def)
ObjectAddress CreateSubscription(ParseState *pstate, CreateSubscriptionStmt *stmt, bool isTopLevel)
void CheckSubDeadTupleRetention(bool check_guc, bool sub_disabled, int elevel_for_sub_disabled, bool retain_dead_tuples, bool retention_active, bool max_retention_set)
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

AltStyle によって変換されたページ (->オリジナル) /