Commit df044026 authored by Peter Eisentraut's avatar Peter Eisentraut

Fix typo in logical truncate replication

This could result in some misbehavior in a cascading replication setup.
parent 56fb890a
...@@ -932,7 +932,7 @@ apply_handle_truncate(StringInfo s) ...@@ -932,7 +932,7 @@ apply_handle_truncate(StringInfo s)
rels = lappend(rels, rel->localrel); rels = lappend(rels, rel->localrel);
relids = lappend_oid(relids, rel->localreloid); relids = lappend_oid(relids, rel->localreloid);
if (RelationIsLogicallyLogged(rel->localrel)) if (RelationIsLogicallyLogged(rel->localrel))
relids_logged = lappend_oid(relids, rel->localreloid); relids_logged = lappend_oid(relids_logged, rel->localreloid);
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment