Fix local/remote attribute mix-up in logical replication
Peter Eisentraut <peter_e@gmx.net>
Fix local/remote attribute mix-up in logical replication This would lead to failures if local and remote tables have a different column order. The tests previously didn't catch that because they only tested the initial data copy. So add another test that exercises the apply worker. Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/logical/worker.c | modified | +2 −1 |
| src/test/subscription/t/001_rep_changes.pl | modified | +4 −1 |