17#ifndef PG_SUBSCRIPTION_H
18#define PG_SUBSCRIPTION_H
22#include "catalog/pg_subscription_d.h"
171#ifdef EXPOSE_TO_CLIENT_CODE
177#define LOGICALREP_TWOPHASE_STATE_DISABLED 'd'
178#define LOGICALREP_TWOPHASE_STATE_PENDING 'p'
179#define LOGICALREP_TWOPHASE_STATE_ENABLED 'e'
185#define LOGICALREP_ORIGIN_NONE "none"
191#define LOGICALREP_ORIGIN_ANY "any"
194#define LOGICALREP_STREAM_OFF 'f'
200#define LOGICALREP_STREAM_ON 't'
206#define LOGICALREP_STREAM_PARALLEL 'p'
#define BEGIN_CATALOG_STRUCT
#define DECLARE_UNIQUE_INDEX_PKEY(name, oid, oidmacro, tblname, decl)
#define BKI_LOOKUP(catalog)
#define END_CATALOG_STRUCT
#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)
END_CATALOG_STRUCT typedef FormData_pg_subscription * Form_pg_subscription
BEGIN_CATALOG_STRUCT SubscriptionRelation_Rowtype_Id BKI_SCHEMA_MACRO
Subscription * GetSubscription(Oid subid, bool missing_ok)
Datum quote_literal(PG_FUNCTION_ARGS)