Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit df04402

Browse files
committed
Fix typo in logical truncate replication
This could result in some misbehavior in a cascading replication setup.
1 parent 56fb890 commit df04402

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/replication/logical/worker.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ apply_handle_truncate(StringInfo s)
932932
rels = lappend(rels, rel->localrel);
933933
relids = lappend_oid(relids, rel->localreloid);
934934
if (RelationIsLogicallyLogged(rel->localrel))
935-
relids_logged = lappend_oid(relids, rel->localreloid);
935+
relids_logged = lappend_oid(relids_logged, rel->localreloid);
936936
}
937937

938938
/*

0 commit comments

Comments
 (0)