pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Piotr Stefaniak <postgres@piotr-stefaniak.me>
Cc: Andreas Seltenreich <seltenreich@gmx.de>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [sqlsmith] Failed assertion in joinrels.c
Date: Wed, 05 Aug 2015 14:43:58 -0400
Message-ID: <9422.1438800238@sss.pgh.pa.us> (raw)
In-Reply-To: <BLU436-SMTP16128D87C0BAE6BC893A927F2750@phx.gbl>
References: <87wpxfygg9.fsf@credativ.de>
	<15630.1438391483@sss.pgh.pa.us>
	<87614zxroq.fsf@credativ.de>
	<2086.1438444757@sss.pgh.pa.us>
	<BLU436-SMTP3324F13C3791725A65B862F2770@phx.gbl>
	<1738.1438629520@sss.pgh.pa.us>
	<BLU436-SMTP1601C4BE9EAA49B8548F8F7F2760@phx.gbl>
	<20518.1438734296@sss.pgh.pa.us>
	<BLU436-SMTP16128D87C0BAE6BC893A927F2750@phx.gbl>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Piotr Stefaniak <postgres@piotr-stefaniak.me> writes:
> On 08/05/2015 02:24 AM, Tom Lane wrote:
>> Piotr Stefaniak <postgres@piotr-stefaniak.me> writes:
>>> Set join_collapse_limit = 32 and you should see the error.

>> Ah ... now I get that error on the smaller query, but the larger one
>> (that you put in an attachment) still doesn't show any problem.
>> Do you have any other nondefault settings?

> Sorry, that needs from_collapse_limit = 32 as well.

Yeah, I assumed as much, but it still doesn't happen for me.  Possibly
something platform-dependent in statistics, or something like that.

Anyway, I fixed the problem exposed by the smaller query; would you
check that the larger one is okay for you now?

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (55+ messages)  latest in thread

Message-ID: <9422.1438800238@sss.pgh.pa.us>
Permalink:  ../9422.1438800238@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9422.1438800238@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, postgres@piotr-stefaniak.me, seltenreich@gmx.de
  Subject: Re: [sqlsmith] Failed assertion in joinrels.c
  In-Reply-To: <9422.1438800238@sss.pgh.pa.us>
  References: <87wpxfygg9.fsf@credativ.de> <15630.1438391483@sss.pgh.pa.us> <87614zxroq.fsf@credativ.de> <2086.1438444757@sss.pgh.pa.us> <BLU436-SMTP3324F13C3791725A65B862F2770@phx.gbl> <1738.1438629520@sss.pgh.pa.us> <BLU436-SMTP1601C4BE9EAA49B8548F8F7F2760@phx.gbl> <20518.1438734296@sss.pgh.pa.us> <BLU436-SMTP16128D87C0BAE6BC893A927F2750@phx.gbl> <9422.1438800238@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