Fix whole-row references in postgres_fdw.
The optimization to not retrieve unnecessary columns wasn't smart enough.
Noted by Thom Brown.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/6da378dbc97f1b96bf5778a558e168a0dc405bce
Modified Files
--------------
contrib/postgres_fdw/deparse.c | 8 +++++-
contrib/postgres_fdw/expected/postgres_fdw.out | 29 ++++++++++++++++++++++++
contrib/postgres_fdw/sql/postgres_fdw.sql | 3 ++
3 files changed, 39 insertions(+), 1 deletions(-)