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.jeli...@2ndquadrant.com> Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/fca17a933b4b3cedcd41f14b0fe4d3fb439ea4a4 Modified Files -------------- src/backend/replication/logical/worker.c | 3 ++- src/test/subscription/t/001_rep_changes.pl | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers