Re: [sqlsmith] ERROR: partition missing from subplans

From: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
To: Andreas Seltenreich <seltenreich(at)gmx(dot)de>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [sqlsmith] ERROR: partition missing from subplans
Date: 2018-08-11 03:32:58
Message-ID: CAKJS1f8k4U1dseYKQh9ugWF=A+Kqpvw7PCOSf+RFv_QXGRoy0g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11 August 2018 at 14:09, David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> wrote:
> So my best idea on a
> fix is simply to remove the code that raises the error.

Here's a patch to do that. I've also included a further simplified
test to ensure this case performs run-time pruning correctly.

--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Attachment Content-Type Size
fix_partition_missing_from_subplans_error.patch application/octet-stream 2.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2018-08-11 05:39:49 Re: [HACKERS] proposal: schema variables
Previous Message Mark Rofail 2018-08-11 03:20:57 Re: [HACKERS] GSoC 2017: Foreign Key Arrays