aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-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 2642a3f94ec..dfb1fea48b7 100644
--- a/src/include/replication/logicalrelation.h
+++ b/src/include/replication/logicalrelation.h
@@ -18,14 +18,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) */
AttrNumber *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;