Re: pgsql: Expand partitioned table RTEs level by level, without flattening

From: Andreas Seltenreich <seltenreich(at)gmx(dot)de>
To: Robert Haas <rhaas(at)postgresql(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Expand partitioned table RTEs level by level, without flattening
Date: 2017-09-16 10:55:46
Message-ID: 874ls2vrnx.fsf@ansel.ydns.eu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Robert Haas writes:

> Expand partitioned table RTEs level by level, without flattening.

testing with sqlsmith shows that the following assertion in this commit
doesn't hold:

TRAP: FailedAssertion("!(((brel)->reloptkind == RELOPT_BASEREL || (brel)->reloptkind == RELOPT_OTHER_MEMBER_REL))", File: "initsplan.c", Line: 647)

One of the simpler queries that triggers it for me:

select from information_schema.user_mapping_options;

regards,
Andreas

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-09-16 14:32:29 Re: [COMMITTERS] pgsql: Perform only one ReadControlFile() during startup.
Previous Message Robert Haas 2017-09-16 01:38:01 pgsql: After a MINVALUE/MAXVALUE bound, allow only more of the same.

Browse pgsql-hackers by date

  From Date Subject
Next Message David Steele 2017-09-16 12:10:38 Re: additional contrib test suites
Previous Message Dilip Kumar 2017-09-16 09:43:41 Re: path toward faster partition pruning