Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZN3i0-0000jn-C3 for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Aug 2015 18:46:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZN3hz-0001n0-TE for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Aug 2015 18:46:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZN3fh-0006lw-Ae for pgsql-hackers@postgresql.org; Wed, 05 Aug 2015 18:44:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZN3fc-0003Rv-47 for pgsql-hackers@postgresql.org; Wed, 05 Aug 2015 18:44:12 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t75Ihw2j009423; Wed, 5 Aug 2015 14:43:58 -0400 From: Tom Lane To: Piotr Stefaniak cc: Andreas Seltenreich , pgsql-hackers@postgresql.org Subject: Re: [sqlsmith] Failed assertion in joinrels.c In-reply-to: References: <87wpxfygg9.fsf@credativ.de> <15630.1438391483@sss.pgh.pa.us> <87614zxroq.fsf@credativ.de> <2086.1438444757@sss.pgh.pa.us> <1738.1438629520@sss.pgh.pa.us> <20518.1438734296@sss.pgh.pa.us> Comments: In-reply-to Piotr Stefaniak message dated "Wed, 05 Aug 2015 07:20:48 +0200" Date: Wed, 05 Aug 2015 14:43:58 -0400 Message-ID: <9422.1438800238@sss.pgh.pa.us> X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Piotr Stefaniak writes: > On 08/05/2015 02:24 AM, Tom Lane wrote: >> Piotr Stefaniak 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