Fix whole-row references in postgres_fdw.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Feb 2013 14:21:50 +0000 (09:21 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Feb 2013 14:21:50 +0000 (09:21 -0500)
commit6da378dbc97f1b96bf5778a558e168a0dc405bce
treef702a08f31aa1eb3ef421835cd109a197ec8eaa5
parent211e157a51bf94dfcc143e78221951411f87e4b2
Fix whole-row references in postgres_fdw.

The optimization to not retrieve unnecessary columns wasn't smart enough.
Noted by Thom Brown.
contrib/postgres_fdw/deparse.c
contrib/postgres_fdw/expected/postgres_fdw.out
contrib/postgres_fdw/sql/postgres_fdw.sql