Re: [HACKERS] Prologue of set_append_rel_size() and partitioned tables

2017-06-22 Thread Robert Haas
On Wed, Mar 29, 2017 at 3:18 AM, Ashutosh Bapat wrote: >> Update patch attached. > > Looks good to me. Committed. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list

Re: [HACKERS] Prologue of set_append_rel_size() and partitioned tables

2017-03-29 Thread Ashutosh Bapat
On Wed, Mar 29, 2017 at 12:23 PM, Amit Langote wrote: > On 2017/03/29 15:20, Ashutosh Bapat wrote: >> The prologue of set_append_rel_size() mentions >> >> * Note that in the inheritance case, >> * the first member relation is actually the same table as is

Re: [HACKERS] Prologue of set_append_rel_size() and partitioned tables

2017-03-29 Thread Amit Langote
On 2017/03/29 15:20, Ashutosh Bapat wrote: > The prologue of set_append_rel_size() mentions > > * Note that in the inheritance case, > * the first member relation is actually the same table as is mentioned in > * the parent RTE ... but it has a different RTE and RelOptInfo. > > This

[HACKERS] Prologue of set_append_rel_size() and partitioned tables

2017-03-29 Thread Ashutosh Bapat
The prologue of set_append_rel_size() mentions * Note that in the inheritance case, * the first member relation is actually the same table as is mentioned in * the parent RTE ... but it has a different RTE and RelOptInfo. This isn't true about partitioned tables anymore. We do not