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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy