Support OID system column in postgres_fdw.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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
| Path | Change | +/− |
|---|---|---|
| contrib/postgres_fdw/deparse.c | modified | +30 −7 |
| contrib/postgres_fdw/expected/postgres_fdw.out | modified | +33 −10 |
| contrib/postgres_fdw/postgres_fdw.c | modified | +26 −2 |
| contrib/postgres_fdw/sql/postgres_fdw.sql | modified | +12 −1 |