Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhW45-0004Hj-I1 for pgsql-bugs@arkaria.postgresql.org; Mon, 23 Jul 2018 08:19:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fhW43-0002TM-Ag for pgsql-bugs@arkaria.postgresql.org; Mon, 23 Jul 2018 08:19:31 +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.89) (envelope-from ) id 1fhW43-0002TF-4f for pgsql-bugs@lists.postgresql.org; Mon, 23 Jul 2018 08:19:31 +0000 Received: from tama50.ecl.ntt.co.jp ([129.60.39.147]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fhW3y-0002Z2-Jn; Mon, 23 Jul 2018 08:19:30 +0000 Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama50.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id w6N8JMSl002982; Mon, 23 Jul 2018 17:19:22 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id CE027638DDA; Mon, 23 Jul 2018 17:19:22 +0900 (JST) Received: from jcms-pop21.ecl.ntt.co.jp (jcms-pop21.ecl.ntt.co.jp [129.60.87.134]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id C2A1F638C1B; Mon, 23 Jul 2018 17:19:22 +0900 (JST) Received: from [127.0.0.1] (unknown [129.60.241.61]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTPSA id B32DC400AB5; Mon, 23 Jul 2018 17:19:22 +0900 (JST) Subject: Re: BUG #15283: Query Result equal 0 for partitioned table References: <153191875971.1397.6462004283696046926@wrigleys.postgresql.org> <4f621f53-aa87-f659-5711-22eb81a91e48@lab.ntt.co.jp> From: Amit Langote Message-ID: Date: Mon, 23 Jul 2018 17:19:14 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CC-Mail-RelayStamp: 1 To: suan tay Cc: pgsql-bugs@lists.postgresql.org, PG Bug reporting form X-TM-AS-MML: disable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018/07/23 17:04, suan tay wrote: > Thank you for the clarification. > > Yes in deed I'm using rules to do such partitioning in Posgresql 9.6. > I also test Postgres 10 with rules : the result of insertion is always at 0. I forgot to mention that using rules (not triggers) would lead to the same behavior. Thanks, Amit