Support OID system column in postgres_fdw.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: ae025a15988f5491903cd3a2075f308c2773f711
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2016-08-26T13:33:57Z
Releases: 10.0
Support OID system column in postgres_fdw.

You can use ALTER FOREIGN TABLE SET WITH OIDS on a foreign table, but the
oid column read out as zeros, because the postgres_fdw didn't know about
it. Teach postgres_fdw how to fetch it.

Etsuro Fujita, with an additional test case by me.

Discussion: <56E90A76.5000503@lab.ntt.co.jp>

Files