From: Peter Eisentraut Date: Mon, 23 Apr 2018 17:38:22 +0000 (-0400) Subject: Fix typo in logical truncate replication X-Git-Tag: REL_11_BETA1~185 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df044026fcaf60b22291c31f4290a3b09ecf5833;p=postgresql Fix typo in logical truncate replication This could result in some misbehavior in a cascading replication setup. --- diff --git a/src/backend/replication/logical/worker.c b/src/backend/replication/logical/worker.c index aa7e27179e..2bcf56ca2f 100644 --- a/src/backend/replication/logical/worker.c +++ b/src/backend/replication/logical/worker.c @@ -932,7 +932,7 @@ apply_handle_truncate(StringInfo s) rels = lappend(rels, rel->localrel); relids = lappend_oid(relids, rel->localreloid); if (RelationIsLogicallyLogged(rel->localrel)) - relids_logged = lappend_oid(relids, rel->localreloid); + relids_logged = lappend_oid(relids_logged, rel->localreloid); } /*