postgres_fdw: Avoid possible misbehavior when RETURNING tableoid column only.

Robert Haas <rhaas@postgresql.org>

Commit: 37c84570b1e32aef886c9b546e0dd4a128cb7492
Author: Robert Haas <rhaas@postgresql.org>
Date: 2016-02-05T03:27:13Z
Releases: 9.6.0
postgres_fdw: Avoid possible misbehavior when RETURNING tableoid column only.

deparseReturningList ended up adding up RETURNING NULL to the code, but
code elsewhere saw an empty list of attributes and concluded that it
should not expect tuples from the remote side.

Etsuro Fujita and Robert Haas, reviewed by Thom Brown

Files