Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f8NPL-0007mI-KJ for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Apr 2018 10:00:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f8NPJ-0005NU-Qg for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Apr 2018 10:00:13 +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.89) (envelope-from ) id 1f8NPJ-0005Mt-Fo for pgsql-hackers@lists.postgresql.org; Tue, 17 Apr 2018 10:00:13 +0000 Received: from tama50.ecl.ntt.co.jp ([129.60.39.147]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f8NP9-0005Np-68 for pgsql-hackers@postgresql.org; Tue, 17 Apr 2018 10:00:12 +0000 Received: from vc1.ecl.ntt.co.jp (vc1.ecl.ntt.co.jp [129.60.86.153]) by tama50.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id w3H9xxeU015176; Tue, 17 Apr 2018 18:59:59 +0900 Received: from vc1.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id 7BCF6EA8221; Tue, 17 Apr 2018 18:59:59 +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 7164BEA81B3; Tue, 17 Apr 2018 18:59:59 +0900 (JST) Received: from [IPv6:::1] (unknown [129.60.241.75]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTPSA id 6DBD4400934; Tue, 17 Apr 2018 18:59:59 +0900 (JST) Message-ID: <5AD5C5A1.1070509@lab.ntt.co.jp> Date: Tue, 17 Apr 2018 19:00:01 +0900 From: Etsuro Fujita User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 Subject: Re: Expression errors with "FOR UPDATE" and postgres_fdw with partition wise join enabled. References: <5AD5B1E0.8020404@lab.ntt.co.jp> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CC-Mail-RelayStamp: 1 To: Ashutosh Bapat Cc: Rajkumar Raghuwanshi , pgsql-hackers X-TM-AS-MML: disable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk (2018/04/17 18:43), Ashutosh Bapat wrote: > On Tue, Apr 17, 2018 at 2:05 PM, Etsuro Fujita > wrote: >> (2018/02/20 18:13), Ashutosh Bapat wrote: >>> >>> Here's patchset implementing this solution. >>> >>> 0001 adds PVC_*_CONVERTROWTYPEEXPR to pull_var_clause() and adjusts its >>> callers. >>> >>> 0002 fixes a similar bug for regular partitioned tables. The patch has >>> testcase. The commit message explains the bug in more detail. >>> >>> 0003 has postgres_fdw fixes as outlined above with tests. >> >> >> The patch 0003 doesn't applies to the latest HEAD any more, so please update >> the patch. I think this should be an open item for PG11. My apologizes for >> not having reviewed the patch in the last commitfest. > > Here's updated patch-set. Thanks for updating the patch set! Will review. Best regards, Etsuro Fujita