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