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

From Etsuro Fujita
Subject Odd oid-system-column handling in postgres_fdw
Date
Msg-id 56E90A76.5000503@lab.ntt.co.jp
Whole thread Raw
Responses Re: Odd oid-system-column handling in postgres_fdw  (Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>)
List pgsql-hackers
Hi,

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.

Best regards,
Etsuro Fujita

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Pushdown target list below gather node (WAS Re: WIP: Upper planner pathification)
Next
From: Craig Ringer
Date:
Subject: Re: Logical decoding slots can go backwards when used from SQL, docs are wrong