From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@postgresql.org
Subject: pgsql: Support OID system column in postgres_fdw.
Date: Fri, 26 Aug 2016 13:34:19 +0000
Message-ID: <E1bdHH1-0004Nl-Cn@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: heikki.linnakangas@iki.fi
Subject: Re: pgsql: Support OID system column in postgres_fdw.
In-Reply-To: <E1bdHH1-0004Nl-Cn@gemulon.postgresql.org>
References: <E1bdHH1-0004Nl-Cn@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox