Re: Odd oid-system-column handling in postgres_fdw

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Etsuro Fujita <fujita(dot)etsuro(at)lab(dot)ntt(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Odd oid-system-column handling in postgres_fdw
Date: 2016-08-26 13:35:59
Message-ID: 6fcc5bac-cafe-bd60-9f9c-be1cc81bd46e@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martín Marqués 2016-08-26 13:53:26 Re: pg_dump with tables created in schemas created by extensions
Previous Message Tom Lane 2016-08-26 13:16:15 Re: Showing parallel status in \df+