aboutsummaryrefslogtreecommitdiff
path: root/src/include/replication/logicalrelation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/replication/logicalrelation.h')
-rw-r--r--src/include/replication/logicalrelation.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/replication/logicalrelation.h b/src/include/replication/logicalrelation.h
index a6b44b12bd1..7e431af753f 100644
--- a/src/include/replication/logicalrelation.h
+++ b/src/include/replication/logicalrelation.h
@@ -19,14 +19,16 @@ typedef struct LogicalRepRelMapEntry
{
LogicalRepRelation remoterel; /* key is remoterel.remoteid */
- /* Mapping to local relation, filled as needed. */
+ /* Mapping to local relation. */
Oid localreloid; /* local relation id */
- Relation localrel; /* relcache entry */
+ Relation localrel; /* relcache entry (NULL when closed) */
AttrMap *attrmap; /* map of local attributes to remote ones */
bool updatable; /* Can apply updates/deletes? */
/* Sync state. */
char state;
+ /* Validity flag ... inserted here to avoid ABI break in back branches. */
+ bool localrelvalid;
XLogRecPtr statelsn;
} LogicalRepRelMapEntry;