Re: Internal error XX000 with enable_partition_pruning=on, pg 11beta1 on Debian - Mailing list pgsql-hackers

From David Rowley
Subject Re: Internal error XX000 with enable_partition_pruning=on, pg 11beta1 on Debian
Date
Msg-id CAKJS1f8RHYCXU3tEWagDzoTk0n1KoPw2FA8PByrMiyV6owpR1w@mail.gmail.com
Whole thread Raw
In response to Re: Internal error XX000 with enable_partition_pruning=on, pg 11beta1 on Debian  (David Rowley <david.rowley@2ndquadrant.com>)
Responses Re: Internal error XX000 with enable_partition_pruning=on, pg 11 beta1 on Debian
List pgsql-hackers
On 20 July 2018 at 01:03, David Rowley <david.rowley@2ndquadrant.com> wrote:
> I've attached a patch intended for master which is just v2 based on
> post 5220bb7533.

In [1] I mentioned that I think that bug should be fixed as part of
this bug fix too. It just seems a little strange to fix that one
separately when without the v3 patch for this fix the code still won't
work correctly when any subplans are present which don't belong in the
partition hierarchy.

I've attached a patch which can be applied on top of the v3 patch.

[1] https://www.postgresql.org/message-id/CAKJS1f9e7hHYP9SaT%3D-_RR4jdmm9VCgtDoC3-60s97EMjcfGWg%40mail.gmail.com

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

Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: FailedAssertion on partprune
Next
From: Robert Haas
Date:
Subject: Re: Explain buffers wrong counter with parallel plans