Re: [sqlsmith] Failed assertion during partition pruning - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [sqlsmith] Failed assertion during partition pruning
Date
Msg-id 2830051.1611960757@sss.pgh.pa.us
Whole thread Raw
In response to Re: [sqlsmith] Failed assertion during partition pruning  (Zhihong Yu <zyu@yugabyte.com>)
Responses Re: [sqlsmith] Failed assertion during partition pruning  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Zhihong Yu <zyu@yugabyte.com> writes:
> I wonder if the (failed) assertion should be converted to an if statement:

As I said, I'm now thinking it's not the Assert that's faulty.
If I'm right about that, it's likely that the mistaken labeling
of these paths has other consequences beyond triggering this
assertion.  (If it has none, I think we'd be better off to remove
these Path fields altogether, and re-identify the parent rels
here from the RelOptInfo data.)

            regards, tom lane



pgsql-hackers by date:

Previous
From: Zhihong Yu
Date:
Subject: Re: [sqlsmith] Failed assertion during partition pruning
Next
From: Jacob Champion
Date:
Subject: Re: Proposal: Save user's original authenticated identity for logging