Re: pgsql: Clarify use of temporary tables within partition trees - Mailing list pgsql-committers

From David Rowley
Subject Re: pgsql: Clarify use of temporary tables within partition trees
Date
Msg-id CAKJS1f-SB+cAgS82KNYcBbiHR=NYFpx8s9J6+B01vdWOeeDrqw@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Clarify use of temporary tables within partition trees  (Michael Paquier <michael@paquier.xyz>)
Responses Re: pgsql: Clarify use of temporary tables within partition trees
List pgsql-committers
On 3 July 2018 at 21:15, Michael Paquier <michael@paquier.xyz> wrote:
> Yeah.  Actually I'd like to add a test as well to test the recursion
> call of expand_partitioned_rtentry.  If you have an idea, please let me
> know or I'll figure out one by myself and add it probably in
> create_table.sql.

What specifically do you want to test? There are plenty of partitioned
tests with sub-partitioned tables. Going by [1], there's no shortage
of coverage.

Of course, the dead code I'm proposing we remove is not covered.
There's no way to cover it... it's dead.

[1] https://coverage.postgresql.org/src/backend/optimizer/prep/prepunion.c.gcov.html


-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgsql: Clarify use of temporary tables within partition trees
Next
From: Amit Langote
Date:
Subject: Re: pgsql: Clarify use of temporary tables within partition trees