pgsql: Support OID system column in postgres_fdw.
pgsql: 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> Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/ae025a15988f5491903cd3a2075f308c2773f711 Modified Files -------------- contrib/postgres_fdw/deparse.c | 37 +++++++++++++++++----- contrib/postgres_fdw/expected/postgres_fdw.out | 43 ++++++++++++++++++++------ contrib/postgres_fdw/postgres_fdw.c | 28 +++++++++++++++-- contrib/postgres_fdw/sql/postgres_fdw.sql | 13 +++++++- 4 files changed, 101 insertions(+), 20 deletions(-)