Re: inherit support for foreign tables - Mailing list pgsql-hackers

From Tom Lane
Subject Re: inherit support for foreign tables
Date
Msg-id 3492.1404136084@sss.pgh.pa.us
Whole thread Raw
In response to Re: inherit support for foreign tables  (Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>)
Responses Re: inherit support for foreign tables  (Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>)
Re: inherit support for foreign tables  (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>)
List pgsql-hackers
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.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: RLS Design
Next
From: Robert Haas
Date:
Subject: Re: Spinlocks and compiler/memory barriers