/* ---------------- *pg_subscription_reldefinition.cppturnsthisinto *typedefstructFormData_pg_subscription_rel *----------------
*/
CATALOG(pg_subscription_rel,6102,SubscriptionRelRelationId)
{
Oid srsubid BKI_LOOKUP(pg_subscription); /* Oid of subscription */
Oid srrelid BKI_LOOKUP(pg_class); /* Oid of relation */ char srsubstate; /* state of the relation in subscription */
/* ---------------- *substateconstants *----------------
*/ #define SUBREL_STATE_INIT 'i'/* initializing (sublsn NULL) */ #define SUBREL_STATE_DATASYNC 'd'/* data is being synchronized (sublsn
* NULL) */ #define SUBREL_STATE_FINISHEDCOPY 'f'/* tablesync copy phase is completed
* (sublsn NULL) */ #define SUBREL_STATE_SYNCDONE 's'/* synchronization finished in front of
* apply (sublsn set) */ #define SUBREL_STATE_READY 'r'/* ready (sublsn set) */
/* These are never stored in the catalog, we only use them for IPC. */ #define SUBREL_STATE_UNKNOWN '\0'/* unknown state */ #define SUBREL_STATE_SYNCWAIT 'w'/* waiting for sync */ #define SUBREL_STATE_CATCHUP 'c'/* catching up with apply */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.