Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aRTKJ-00022t-5W for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Feb 2016 23:28:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aRTKI-0008KO-JL for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Feb 2016 23:28:38 +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 1aRTKH-0008Jr-Ku for pgsql-bugs@postgresql.org; Thu, 04 Feb 2016 23:28:37 +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 1aRTKF-00077J-AW for pgsql-bugs@postgresql.org; Thu, 04 Feb 2016 23:28:36 +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 u14NSWDK007910; Thu, 4 Feb 2016 18:28:32 -0500 From: Tom Lane To: "David G. Johnston" cc: "pgsql-bugs@postgresql.org" , Seth P Subject: Re: BUG #13908: Query returns too few rows In-reply-to: References: <20160202194729.2776.92152@wrigleys.postgresql.org> <22337.1454453536@sss.pgh.pa.us> Comments: In-reply-to "David G. Johnston" message dated "Thu, 04 Feb 2016 15:13:00 -0700" Date: Thu, 04 Feb 2016 18:28:32 -0500 Message-ID: <7909.1454628512@sss.pgh.pa.us> X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org "David G. Johnston" writes: > *The second-level Hash Join combines/sees, in both cases, 7,993 and > 1,275,138 records but depending on the LEFT/RIGHT order of the sub-nodes > appears to provide a different result.* Hmm, that's pretty fishy; and given all the hacking that's gone on lately on hash join, 9.5 introducing a bug there wouldn't be all that astonishing. But I decline to try to find it without a self-contained test case. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs