YugabyteDB (2.13.0.0-b42, bfc6a6643e7399ac8a0e81d06a3ee6d6571b33ab)

Coverage Report

Created: 2022-03-09 17:30

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/postgres_build/src/include/catalog/pg_subscription_rel_d.h
Line
Count
Source (jump to first uncovered line)
1
/*-------------------------------------------------------------------------
2
 *
3
 * pg_subscription_rel_d.h
4
 *    Macro definitions for pg_subscription_rel
5
 *
6
 * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
7
 * Portions Copyright (c) 1994, Regents of the University of California
8
 *
9
 * NOTES
10
 *  ******************************
11
 *  *** DO NOT EDIT THIS FILE! ***
12
 *  ******************************
13
 *
14
 *  It has been GENERATED by src/backend/catalog/genbki.pl
15
 *
16
 *-------------------------------------------------------------------------
17
 */
18
#ifndef PG_SUBSCRIPTION_REL_D_H
19
#define PG_SUBSCRIPTION_REL_D_H
20
21
1.24k
#define SubscriptionRelRelationId 6102
22
23
0
#define Anum_pg_subscription_rel_srsubid 1
24
1.24k
#define Anum_pg_subscription_rel_srrelid 2
25
0
#define Anum_pg_subscription_rel_srsubstate 3
26
0
#define Anum_pg_subscription_rel_srsublsn 4
27
28
#define Natts_pg_subscription_rel 4
29
30
31
/* ----------------
32
 *    substate constants
33
 * ----------------
34
 */
35
0
#define SUBREL_STATE_INIT   'i' /* initializing (sublsn NULL) */
36
0
#define SUBREL_STATE_DATASYNC 'd' /* data is being synchronized (sublsn
37
                   * NULL) */
38
0
#define SUBREL_STATE_SYNCDONE 's' /* synchronization finished in front of
39
                   * apply (sublsn set) */
40
0
#define SUBREL_STATE_READY    'r' /* ready (sublsn set) */
41
42
/* These are never stored in the catalog, we only use them for IPC. */
43
0
#define SUBREL_STATE_UNKNOWN  '\0'  /* unknown state */
44
0
#define SUBREL_STATE_SYNCWAIT 'w' /* waiting for sync */
45
0
#define SUBREL_STATE_CATCHUP  'c' /* catching up with apply */
46
47
48
#endif              /* PG_SUBSCRIPTION_REL_D_H */