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 1h2GC0-0001B9-SD for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Mar 2019 14:09:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h2GBy-00075N-5X for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Mar 2019 14:09:42 +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 1h2GBx-00074p-Qy for pgsql-hackers@lists.postgresql.org; Fri, 08 Mar 2019 14:09:41 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h2GBp-0004Aq-OV for pgsql-hackers@lists.postgresql.org; Fri, 08 Mar 2019 14:09:40 +0000 Received: by mail-qt1-x842.google.com with SMTP id d16so3172429qtn.10 for ; Fri, 08 Mar 2019 06:09:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=+5IyD7e1NcaMvWHWcZjZAN92AKe0JUpRikXPvo9FXg4=; b=UbilP6F3+nCbb0S8r8WF/S5JvSFqA5q6wGwWuO1hGAFM3cnsZxFDx+TekrmuJNaS/y ABy/UIsvWSTV8vC51yT+Z5KmsDo+io3coq5r9PDdWvqna6z8C3BwTI+zbUnbm7UL7Mh8 ohbrC9qL7C8Z/kmGuCb9M427nZJmBELJO2ll+Qq5gvI2lqAZy5EKurTOcUEtLDKsmWii fD0GeSnRs1vNwpcXrKrEsRCTzFMBx+RtPJeIov0yMbHtmbuJUY/0Ook9m4GqTdy/lv5E TA33B+3QNXkt7VzKoDjInhDmxDIQlmY1PNTiLlsQFvzE6tiRmMzp+8yhLTp5fBTQnvc9 nECg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=+5IyD7e1NcaMvWHWcZjZAN92AKe0JUpRikXPvo9FXg4=; b=FRTOqLGIkyTneCRd8/+mb0ABv64Hv74K8Vf+Wkc+0ioHYqmhUUvu2E3A4KjdRjYRdJ WGq6aASHjzG35V1j82QeOdM6IwoAY0s27vtiXQH5V4XPnuXVSGML78o2WKpFUpV8ugff Kj5pS8g/cSBis51JNPAS0x60ERl0AzgvpSQAM5/imtqXmEVDfQzafAdV119ANSdip6BY zN0bLCxKz58Pr5P9Wrb05Gj7IGs/5Qz0H4cK2Vh4EJ0AAoY2bmgi8gNrTdQS8p+81E5g 9Dkz6q9NNmvvtKqJ4Gu1cHPSZ6Jb7U332u6svp44zovBfF70FoiWZpq5ZqlHOfhonw5U 3wdw== X-Gm-Message-State: APjAAAWF/B6kGFsIAe1SbQycvWf8fqDP9a4UCtuIuguQ/NEFmYJk59TW AVbrih/FQh2jmtDJrFx7/u3RBQ== X-Google-Smtp-Source: APXvYqx+CUvXNCQ3uongEn4Z8qLBPvn0PYBe+XF9+pJJ67KbpXEvIk8y/EhK/r7SMT6DaIKAEgbOEg== X-Received: by 2002:a0c:9dd0:: with SMTP id p16mr15432544qvf.108.1552054172299; Fri, 08 Mar 2019 06:09:32 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id i65sm6619926qki.32.2019.03.08.06.09.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Mar 2019 06:09:31 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 567681208DD; Fri, 8 Mar 2019 11:09:29 -0300 (-03) Date: Fri, 8 Mar 2019 11:09:29 -0300 From: Alvaro Herrera To: Amit Langote Cc: David Rowley , Etsuro Fujita , Amit Langote , PostgreSQL Hackers , Robert Haas , Derek Hans Subject: Re: Update does not move row across foreign partitions in v11 Message-ID: <20190308140929.GA27126@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Mar-08, Amit Langote wrote: > diff --git a/doc/src/sgml/ref/update.sgml b/doc/src/sgml/ref/update.sgml > index 77430a586c..f5cf8eab85 100644 > --- a/doc/src/sgml/ref/update.sgml > +++ b/doc/src/sgml/ref/update.sgml > @@ -291,9 +291,9 @@ UPDATE count > concurrent UPDATE or DELETE on the > same row may miss this row. For details see the section > . > - 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. > + While rows can be moved from local partitions to a foreign-table partition > + partition (provided the foreign data wrapper supports tuple routing), they > + cannot be moved from a foreign-table partition to some other partition. > > LGTM. Maybe I'd change "some other" to "another", but maybe on a different phase of the moon I'd leave it alone. I'm not sure about copying the same to ddl.sgml. Why is that needed? Update is not DDL. ddl.sgml does say this: "Partitions can also be foreign tables, although they have some limitations that normal tables do not; see CREATE FOREIGN TABLE for more information." which suggests that the limitation might need to be added to create_foreign_table.sgml. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services