Fix local/remote attribute mix-up in logical replication

Peter Eisentraut <peter_e@gmx.net>

Commit: fca17a933b4b3cedcd41f14b0fe4d3fb439ea4a4
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2017-08-07T14:49:08Z
Releases: 10.0
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