From: Tom Lane <tgl@sss.pgh.pa.us>
To: Zhihong Yu <zyu@yugabyte.com>
Cc: David Rowley <dgrowleyml@gmail.com>
Cc: Andreas Seltenreich <seltenreich@gmx.de>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Subject: Re: [sqlsmith] Failed assertion during partition pruning
Date: Fri, 29 Jan 2021 17:52:37 -0500
Message-ID: <2830051.1611960757@sss.pgh.pa.us> (raw)
In-Reply-To: <CALNJ-vQQVUhHck=Az4XfVbe9piwvKmX8ZTCKoY-7iq+9SwS8tA@mail.gmail.com>
References: <87sg8tqhsl.fsf@aurora.ydns.eu>
<919903.1606603948@sss.pgh.pa.us>
<1501458.1606854684@sss.pgh.pa.us>
<2823553.1611952106@sss.pgh.pa.us>
<CALNJ-vQQVUhHck=Az4XfVbe9piwvKmX8ZTCKoY-7iq+9SwS8tA@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, zyu@yugabyte.com, dgrowleyml@gmail.com, seltenreich@gmx.de
Subject: Re: [sqlsmith] Failed assertion during partition pruning
In-Reply-To: <2830051.1611960757@sss.pgh.pa.us>
References: <87sg8tqhsl.fsf@aurora.ydns.eu> <919903.1606603948@sss.pgh.pa.us> <1501458.1606854684@sss.pgh.pa.us> <2823553.1611952106@sss.pgh.pa.us> <CALNJ-vQQVUhHck=Az4XfVbe9piwvKmX8ZTCKoY-7iq+9SwS8tA@mail.gmail.com> <2830051.1611960757@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox