Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZMmXJ-00050K-FP for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Aug 2015 00:26:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZMmXJ-0007kF-0a for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Aug 2015 00:26:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZMmW2-0006GN-UH for pgsql-hackers@postgresql.org; Wed, 05 Aug 2015 00:25:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZMmVz-0007Ny-Na for pgsql-hackers@postgresql.org; Wed, 05 Aug 2015 00:25:06 +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 t750OuMl020519; Tue, 4 Aug 2015 20:24:56 -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> Comments: In-reply-to Piotr Stefaniak message dated "Tue, 04 Aug 2015 19:31:30 +0200" Date: Tue, 04 Aug 2015 20:24:56 -0400 Message-ID: <20518.1438734296@sss.pgh.pa.us> X-Pg-Spam-Score: -2.1 (--) 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/03/2015 09:18 PM, Tom Lane wrote: >> ... but I can't reproduce it on HEAD with either of these queries. >> Not clear why you're getting different results. > I'm terribly sorry, but I didn't notice that postgresql.conf was modified... > 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? 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