Re: Crash in 9.4 Beta when partially collapsing left outer joins

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: lists(at)benjamindsmith(dot)com
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Crash in 9.4 Beta when partially collapsing left outer joins
Date: 2014-09-09 05:43:50
Message-ID: CAB7nPqSem2UEudXpmSBeawALaMc5mwR04XZSYNNFudAyvGhEWQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Sep 9, 2014 at 6:36 AM, <lists(at)benjamindsmith(dot)com> wrote:
> What other information should I provide? We have the machine available if
> necessary.
This can be reproduced without especially LEFT OUTER JOIN, and system
crashes as long as index path is taken in planner, and that WHERE
clause uses a given combination of OR and AND like the one in the
query given. Here is a more simple example:
create table aa (a int);
create index aai on aa(a);
select a1.a from aa a1, aa a2 where a1.a = 0 or (a1.a = 0 or a1.a = 1)
and a2.a = 0;
Some bisecting is showing as well that the commit at the origin of the
regression is f343a88.
Regards,
--
Michael

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vinayak 2014-09-09 06:46:32 Re: CONCAT function
Previous Message Tom Lane 2014-09-09 03:58:08 Re: Crash in 9.4 Beta when partially collapsing left outer joins