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 1h8aq8-000054-KD for pgsql-bugs@arkaria.postgresql.org; Tue, 26 Mar 2019 01:25:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h8aq7-0004Ls-4G for pgsql-bugs@arkaria.postgresql.org; Tue, 26 Mar 2019 01:25:19 +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 1h8aq6-0004Ll-MB for pgsql-bugs@lists.postgresql.org; Tue, 26 Mar 2019 01:25:18 +0000 Received: from tama500.ecl.ntt.co.jp ([129.60.39.148]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h8apz-0001dk-RD for pgsql-bugs@lists.postgresql.org; Tue, 26 Mar 2019 01:25:17 +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 x2Q1P7ui013426; Tue, 26 Mar 2019 10:25:07 +0900 Received: from vc1.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id CC31AEA739B; Tue, 26 Mar 2019 10:25:07 +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 C187BEA6E8F; Tue, 26 Mar 2019 10:25:07 +0900 (JST) Received: from [127.0.0.1] (unknown [129.60.241.61]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTPSA id BA269400962; Tue, 26 Mar 2019 10:25:07 +0900 (JST) Subject: Re: BUG #15668: Server crash in transformPartitionRangeBounds References: <20190311072114.GG1818@paquier.xyz> <20190314042308.GG3493@paquier.xyz> <20190320020731.GE3488@paquier.xyz> <1937632d-0807-ce70-f608-d075b4866963@lab.ntt.co.jp> <20190320091727.GE26601@paquier.xyz> <20190322050957.GT20192@paquier.xyz> <600097bc-e542-0280-5bc7-c37af1130a25@lab.ntt.co.jp> <20190326011532.GL2558@paquier.xyz> From: Amit Langote Message-ID: <8029569e-70e2-e054-2cc5-b6806506780c@lab.ntt.co.jp> Date: Tue, 26 Mar 2019 10:24:52 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: <20190326011532.GL2558@paquier.xyz> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CC-Mail-RelayStamp: 1 To: Michael Paquier Cc: Amit Langote , exclusion@gmail.com, PostgreSQL mailing lists , PostgreSQL-development , Peter Eisentraut X-TM-AS-MML: disable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2019/03/26 10:15, Michael Paquier wrote: > Done as you suggested, with a minimal set enough to trigger the crash, > still the error message is rather misleading as you would expect :) Thanks for committing. >> A separate thread will definitely attract more attention, at least in due >> time. :) > > Sure. For now I have committed a lighter version of 0001, with > tweaked comments based on your suggestion, as well as a minimum set of > test cases. I have added on the way some tests for range partitions > which have been missing from the start, and improved the existing set > by removing the original "a.a" references, and switching to use > max(date) for range partitions to bump correctly on the aggregate > error. I am just updating the second patch now and I'll begin a new > thread soon. Thanks. Regards, Amit