Re: Odd oid-system-column handling in postgres_fdw - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Odd oid-system-column handling in postgres_fdw
Date
Msg-id 6fcc5bac-cafe-bd60-9f9c-be1cc81bd46e@iki.fi
Whole thread Raw
In response to Re: Odd oid-system-column handling in postgres_fdw  (Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>)
Responses Re: Odd oid-system-column handling in postgres_fdw  (Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>)
List pgsql-hackers
On 04/05/2016 11:15 AM, Etsuro Fujita wrote:
> On 2016/03/16 16:25, Etsuro Fujita wrote:
>> PG9.5 allows us to add an oid system column to foreign tables, using
>> ALTER FOREIGN TABLE SET WITH OIDS, but currently, that column reads as
>> zeroes in postgres_fdw.  That seems to me like a bug.  So, I'd like to
>> propose to fix that, by retrieving that column from the remote server
>> when requested.  I'm attaching a proposed patch for that.
>
> I rebased the patch against HEAD.  Updated patch attached.

Committed, thanks!

- Heikki




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Showing parallel status in \df+
Next
From: Martín Marqués
Date:
Subject: Re: pg_dump with tables created in schemas created by extensions