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 1h23V6-0001LI-4y for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Mar 2019 00:36:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h23V2-0001d6-ID for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Mar 2019 00:36:32 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1h23V2-0001LF-8K for pgsql-hackers@lists.postgresql.org; Fri, 08 Mar 2019 00:36:32 +0000 Received: from tama500.ecl.ntt.co.jp ([129.60.39.148]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h23Uv-0006jZ-Ro for pgsql-hackers@lists.postgresql.org; Fri, 08 Mar 2019 00:36:30 +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 x280aJ83022786; Fri, 8 Mar 2019 09:36:19 +0900 Received: from vc1.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id A5257EA7968; Fri, 8 Mar 2019 09:36:19 +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 998D1EA78BE; Fri, 8 Mar 2019 09:36:19 +0900 (JST) Received: from [127.0.0.1] (unknown [129.60.241.61]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTPSA id 8E8FB400B0E; Fri, 8 Mar 2019 09:36:19 +0900 (JST) Subject: Re: Update does not move row across foreign partitions in v11 References: <20190227193114.GA19279@alvherre.pgsql> <14069ba3-20bb-529b-f104-4e282dc3e322@lab.ntt.co.jp> <5C7F46CC.6010801@lab.ntt.co.jp> <396fc4ca-eeba-e8af-cd72-90861469d3da@lab.ntt.co.jp> <5C7F645E.2080805@lab.ntt.co.jp> <16381946-c020-7099-f8fc-f5a8e11d6fb5@lab.ntt.co.jp> <5C810FF7.8010802@lab.ntt.co.jp> From: Amit Langote Message-ID: <265a9c20-4848-a68a-92ca-9016b22b64cc@lab.ntt.co.jp> Date: Fri, 8 Mar 2019 09:36:07 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 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: Robert Haas , Etsuro Fujita Cc: David Rowley , PostgreSQL Hackers , Alvaro Herrera , Derek Hans X-TM-AS-MML: disable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019/03/07 22:54, Robert Haas wrote: > On Thu, Mar 7, 2019 at 7:35 AM Etsuro Fujita > wrote: >> Thanks for the patch! >> >> The patch looks good to me, but one thing I'm wondering is: as suggested >> by David, it would be better to rephrase this mention in the UPDATE >> reference page, in a single commit: >> >> "Currently, rows cannot be moved from a partition that is a foreign >> table to some other partition, but they can be moved into a foreign >> table if the foreign data wrapper supports it." >> >> I don't think it needs to be completely rephrased; it's enough for me to >> rewrite it to something like this: >> >> "Currently, rows cannot be moved from a foreign-table partition to some >> other partition, but they can be moved into a foreign-table partition if >> the foreign data wrapper supports tuple routing." > > I prefer David's wording. IIUC, David's suggestion [1] is to change the existing wording, which he found hard to parse, to something like Fujita-san is suggesting. Thanks, Amit [1] https://www.postgresql.org/message-id/CAKJS1f-SauQJftjcaQ7C_tzHh_be5C8shT-E9qYnVp%2Bjh4-Fww%40mail.gmail.com