We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentab3e4fb commitcef27aeCopy full SHA for cef27ae
src/backend/replication/logical/worker.c
@@ -788,7 +788,6 @@ apply_handle_update_internal(ResultRelInfo *relinfo,
788
LogicalRepRelMapEntry*relmapentry)
789
{
790
Relationlocalrel=relinfo->ri_RelationDesc;
791
-LogicalRepRelation*remoterel=&relmapentry->remoterel;
792
Oididxoid;
793
EPQStateepqstate;
794
TupleTableSlot*localslot;
@@ -806,7 +805,7 @@ apply_handle_update_internal(ResultRelInfo *relinfo,
806
805
*/
807
idxoid=GetRelationIdentityOrPK(localrel);
808
Assert(OidIsValid(idxoid)||
809
- (remoterel->replident==REPLICA_IDENTITY_FULL));
+ (relmapentry->remoterel.replident==REPLICA_IDENTITY_FULL));
810
811
if (OidIsValid(idxoid))
812
found=RelationFindReplTupleByIndex(localrel,idxoid,