pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Cc: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: Shigeru Hanada <shigeru.hanada@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: inherit support for foreign tables
Date: Tue, 01 Jul 2014 11:10:19 +0900
Message-ID: <53B2188B.4090302@lab.ntt.co.jp> (raw)
In-Reply-To: <3492.1404136084@sss.pgh.pa.us>
References: <53393E18.3080901@lab.ntt.co.jp>
	<533C01C7.6030809@lab.ntt.co.jp>
	<53706FB6.6000403@lab.ntt.co.jp>
	<20140620.170406.123403564.horiguchi.kyotaro@lab.ntt.co.jp>
	<CAFjFpRcG03b3UZSXTKmro+72qYTdBfxoWCaEMgZBxY1QKyJrbQ@mail.gmail.com>
	<53A92924.90702@lab.ntt.co.jp>
	<53B10914.2010504@lab.ntt.co.jp>
	<3492.1404136084@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

(2014/06/30 22:48), Tom Lane wrote:
> Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp> writes:
>> Done.  I think this is because create_foreignscan_plan() makes reference
>> to attr_needed, which isn't computed for inheritance children.
> 
> I wonder whether it isn't time to change that.  It was coded like that
> originally only because calculating the values would've been a waste of
> cycles at the time.  But this is at least the third place where it'd be
> useful to have attr_needed for child rels.

+1 for calculating attr_needed for child rels.  (I was wondering too.)

I'll create a separate patch for it.

Thanks,

Best regards,
Etsuro Fujita


-- 
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 (179+ messages)  latest in thread

Message-ID: <53B2188B.4090302@lab.ntt.co.jp>
Permalink:  ../53B2188B.4090302@lab.ntt.co.jp/
Also on:    postgresql.org/message-id/53B2188B.4090302@lab.ntt.co.jp

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: fujita.etsuro@lab.ntt.co.jp, tgl@sss.pgh.pa.us, ashutosh.bapat@enterprisedb.com, horiguchi.kyotaro@lab.ntt.co.jp, shigeru.hanada@gmail.com
  Subject: Re: inherit support for foreign tables
  In-Reply-To: <53B2188B.4090302@lab.ntt.co.jp>

* 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