17#ifndef PG_SUBSCRIPTION_H
18#define PG_SUBSCRIPTION_H
22#include "catalog/pg_subscription_d.h"
163#ifdef EXPOSE_TO_CLIENT_CODE
169#define LOGICALREP_TWOPHASE_STATE_DISABLED 'd'
170#define LOGICALREP_TWOPHASE_STATE_PENDING 'p'
171#define LOGICALREP_TWOPHASE_STATE_ENABLED 'e'
177#define LOGICALREP_ORIGIN_NONE "none"
183#define LOGICALREP_ORIGIN_ANY "any"
186#define LOGICALREP_STREAM_OFF 'f'
192#define LOGICALREP_STREAM_ON 't'
198#define LOGICALREP_STREAM_PARALLEL 'p'
#define DECLARE_UNIQUE_INDEX_PKEY(name, oid, oidmacro, tblname, decl)
#define BKI_LOOKUP(catalog)
#define BKI_DEFAULT(value)
#define DECLARE_TOAST_WITH_MACRO(name, toastoid, indexoid, toastoidmacro, indexoidmacro)
#define DECLARE_UNIQUE_INDEX(name, oid, oidmacro, tblname, decl)
#define BKI_FORCE_NOT_NULL
#define CATALOG(name, oid, oidmacro)
#define MAKE_SYSCACHE(name, idxname, nbuckets)
#define BKI_SHARED_RELATION
#define BKI_ROWTYPE_OID(oid, oidmacro)
int CountDBSubscriptions(Oid dbid)
void FreeSubscription(Subscription *sub)
void DisableSubscription(Oid subid)
void GetPublicationsStr(List *publications, StringInfo dest, bool quote_literal)
Subscription * GetSubscription(Oid subid, bool missing_ok)
FormData_pg_subscription * Form_pg_subscription
SubscriptionRelation_Rowtype_Id BKI_SCHEMA_MACRO
Datum quote_literal(PG_FUNCTION_ARGS)