Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRR6g-0005pc-P0 for pgsql-bugs@arkaria.postgresql.org; Fri, 17 May 2019 00:52:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hRR6f-0003cS-Hc for pgsql-bugs@arkaria.postgresql.org; Fri, 17 May 2019 00:52:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRR6f-0003c6-6e for pgsql-bugs@lists.postgresql.org; Fri, 17 May 2019 00:52:17 +0000 Received: from tama500.ecl.ntt.co.jp ([129.60.39.148]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hRR6b-0005g9-VJ for pgsql-bugs@lists.postgresql.org; Fri, 17 May 2019 00:52:15 +0000 Received: from vc1.ecl.ntt.co.jp (vc1.ecl.ntt.co.jp [129.60.86.153]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id x4H0qAG2005001; Fri, 17 May 2019 09:52:10 +0900 Received: from vc1.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id 90DD9EA7561; Fri, 17 May 2019 09:52:10 +0900 (JST) Received: from jcms-pop21.ecl.ntt.co.jp (jcms-pop21.ecl.ntt.co.jp [129.60.87.134]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id 85058EA751E; Fri, 17 May 2019 09:52:10 +0900 (JST) Received: from [127.0.0.1] (unknown [129.60.241.61]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTPSA id 7C3D44004EA; Fri, 17 May 2019 09:52:10 +0900 (JST) Subject: Re: inconsistent results querying table partitioned by date References: <28453.1557867500@sss.pgh.pa.us> <588f56cb-aaed-14b0-8a21-13486bd1c706@lab.ntt.co.jp> <10502.1557941878@sss.pgh.pa.us> <23372.1557966530@sss.pgh.pa.us> <14871.1558022797@sss.pgh.pa.us> <12600.1558034735@sss.pgh.pa.us> <26062.1558039070@sss.pgh.pa.us> From: Amit Langote Message-ID: Date: Fri, 17 May 2019 09:51:58 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <26062.1558039070@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CC-Mail-RelayStamp: 1 To: Tom Lane Cc: David Rowley , Kyotaro HORIGUCHI , Alan Jackson , PostgreSQL mailing lists X-TM-AS-MML: disable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019/05/17 5:37, Tom Lane wrote: > I wrote: >> So, the changes in gen_prune_steps_from_opexps seem okay, but >> the change in perform_pruning_base_step is just wrong, Thank you. Will look at your patch for the other bit. Regards, Amit