pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Andreas Seltenreich <seltenreich@gmx.de>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: [sqlsmith] Failed assertion during partition pruning
Date: Tue, 01 Dec 2020 15:31:24 -0500
Message-ID: <1501458.1606854684@sss.pgh.pa.us> (raw)
In-Reply-To: <919903.1606603948@sss.pgh.pa.us>
References: <87sg8tqhsl.fsf@aurora.ydns.eu>
	<919903.1606603948@sss.pgh.pa.us>

I wrote:
> What it looks like to me is that the code for setting up run-time
> partition pruning has failed to consider the possibility of nested
> partitioning: it's expecting that every partitioned table will have
> at least one direct child that is a leaf.  I'm not sure though
> whether just the Assert is wrong, or there's more fundamental
> issues here.

After looking into the git history I realized that this assertion is
quite new, stemming from David's a929e17e5a8 of 2020-11-02.  So there's
something not right about that.

			regards, tom lane





view thread (15+ messages)  latest in thread

Message-ID: <1501458.1606854684@sss.pgh.pa.us>
Permalink:  ../1501458.1606854684@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1501458.1606854684@sss.pgh.pa.us

 · 

reply

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, dgrowleyml@gmail.com, seltenreich@gmx.de
  Subject: Re: [sqlsmith] Failed assertion during partition pruning
  In-Reply-To: <1501458.1606854684@sss.pgh.pa.us>
  References: <87sg8tqhsl.fsf@aurora.ydns.eu> <919903.1606603948@sss.pgh.pa.us> <1501458.1606854684@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