summaryrefslogtreecommitdiff
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/replication/logicalrelation.h b/src/include/replication/logicalrelation.h
index 2642a3f94ec..9922c2ed95a 100644
--- a/src/include/replication/logicalrelation.h
+++ b/src/include/replication/logicalrelation.h
@@ -12,6 +12,7 @@
#ifndef LOGICALRELATION_H
#define LOGICALRELATION_H
+#include "access/attmap.h"
#include "replication/logicalproto.h"
typedef struct LogicalRepRelMapEntry
@@ -21,7 +22,7 @@ typedef struct LogicalRepRelMapEntry
/* Mapping to local relation, filled as needed. */
Oid localreloid; /* local relation id */
Relation localrel; /* relcache entry */
- AttrNumber *attrmap; /* map of local attributes to remote ones */
+ AttrMap *attrmap; /* map of local attributes to remote ones */
bool updatable; /* Can apply updates/deletes? */
/* Sync state. */