pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
To: pgsql-hackers@postgresql.org
Subject: Re: Odd oid-system-column handling in postgres_fdw
Date: Fri, 26 Aug 2016 16:35:59 +0300
Message-ID: <6fcc5bac-cafe-bd60-9f9c-be1cc81bd46e@iki.fi> (raw)
In-Reply-To: <5703741A.9090402@lab.ntt.co.jp>
References: <56E90A76.5000503@lab.ntt.co.jp>
	<5703741A.9090402@lab.ntt.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (6+ messages)  latest in thread

Message-ID: <6fcc5bac-cafe-bd60-9f9c-be1cc81bd46e@iki.fi>
Permalink:  ../6fcc5bac-cafe-bd60-9f9c-be1cc81bd46e@iki.fi/
Also on:    postgresql.org/message-id/6fcc5bac-cafe-bd60-9f9c-be1cc81bd46e@iki.fi

 · 

reply

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-hackers@postgresql.org
  Cc: hlinnaka@iki.fi, fujita.etsuro@lab.ntt.co.jp
  Subject: Re: Odd oid-system-column handling in postgres_fdw
  In-Reply-To: <6fcc5bac-cafe-bd60-9f9c-be1cc81bd46e@iki.fi>
  References: <56E90A76.5000503@lab.ntt.co.jp> <5703741A.9090402@lab.ntt.co.jp> <6fcc5bac-cafe-bd60-9f9c-be1cc81bd46e@iki.fi>

* 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