pgsql: postgres_fdw: Fix incorrect handling of row movement for remote

2019-04-24 Thread Etsuro Fujita
postgres_fdw: Fix incorrect handling of row movement for remote partitions. Commit 3d956d9562 added support for update row movement in postgres_fdw. This patch fixes the following issues introduced by that commit: * When a remote partition chosen to insert routed rows into was also an UPDATE su

pgsql: postgres_fdw: Fix incorrect handling of row movement for remote

2019-04-24 Thread Etsuro Fujita
postgres_fdw: Fix incorrect handling of row movement for remote partitions. Commit 3d956d9562 added support for update row movement in postgres_fdw. This patch fixes the following issues introduced by that commit: * When a remote partition chosen to insert routed rows into was also an UPDATE su