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 1h2H24-0003ek-IL for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Mar 2019 15:03:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h2H21-0005gg-Tx for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Mar 2019 15:03:29 +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 1h2H21-0005gR-Ik for pgsql-hackers@lists.postgresql.org; Fri, 08 Mar 2019 15:03:29 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h2H1u-00020g-E9 for pgsql-hackers@lists.postgresql.org; Fri, 08 Mar 2019 15:03:28 +0000 Received: by mail-qt1-x844.google.com with SMTP id x20so3870657qto.1 for ; Fri, 08 Mar 2019 07:03:22 -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=kinbrnIZM+ctiYAF9vagrOTwCOAW8oetWuGbcVJ/Gok=; b=CPTYI32aPRSt6ND1lYnq6s+eH9ciBkN2My9DgudV4I6Uq/6Yp/I76FJigCJOykqPSG oUrGGlB6DROuo7vXWjELLyk+k3rUTpMhmW7DPDRa//FhjWXyzAZYke7GfSdwNG+C0YM7 Fm2ELtTB2h6pjAx0O+ssEQ0T2OMlDYS8EXygp7Wj34ShGqTBToKi5xnLDJ/T4dl5PjVM DPl+p2jmmBddFD7c85hSvMJbbrCgB6v5x++GU9VWT8tU3okvkX3QI7ZY3aUSCboin05j G4Sd2s5qu6Q/m6hoccJ9MS8Y5gNAYTGefic6/Nmvb1pOFnDU+++ysfLSy4Q9/J3yJp7v 4Hpg== 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=kinbrnIZM+ctiYAF9vagrOTwCOAW8oetWuGbcVJ/Gok=; b=JOmUltFcSdxoEjW5VhmpAUv2JweGCYxRiX3RYLSOUGLRG3Jo9FAipystE0MRhLrafv O5Xdbg3wtCLZ8DoqFANI+67UUe3/LU4nvFqvzFreXe8PKkDYGnW3OIWJHBbT6T3AKVlP GeGTB6q3ex7N2m6Lo3T5kNMPXhuiniLlBPN10d8zYWi7fumGEwrVyeDKNLmAK+mo2rg3 ydIz8flUmE3/7lZpR0dmWTqTkVlVsZHyw+Uy8HCHx9STxkn47L/gW+/rP/p43awX2t3l UkLSCj3e+/9hRS06eJee/v4H4F/2K9P5s3jz43Ios3m4MYWw4PcFEmvwyauWxklvTt4p ujjQ== X-Gm-Message-State: APjAAAVQERpjU9s35zdxKpLslzlSkZAZVLSK4837jsrur+6ZJAMgTKQ9 ss34nrN1Z5tam/Wikx0yc3iJyg== X-Google-Smtp-Source: APXvYqyHytkWbxRA1PMmMcna+H/EOG5MOzZSVDY07tQssHmm/Yn10Wrbx0j5r37IiN7YusFBRTbJSQ== X-Received: by 2002:a0c:804b:: with SMTP id 69mr15543114qva.133.1552057400884; Fri, 08 Mar 2019 07:03:20 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id t20sm4818057qtb.58.2019.03.08.07.03.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Mar 2019 07:03:20 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 8BE46120123; Fri, 8 Mar 2019 12:03:18 -0300 (-03) Date: Fri, 8 Mar 2019 12:03:18 -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: <20190308150318.GA8681@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: > On Fri, Mar 8, 2019 at 11:09 PM Alvaro Herrera wrote: > > I'm not sure about copying the same to ddl.sgml. Why is that needed? > > Update is not DDL. > > Hmm, maybe because there's already a huge block of text describing > certain limitations of UPDATE row movement under concurrency? Uh, you're right, there is. That seems misplaced :-( I'm not sure it even counts as a "limitation"; it seems to belong to the NOTES section of UPDATE rather than where it is now. > Actually, I remember commenting *against* having that text in > ddl.sgml, but it got in there anyway. We can move it now ... > > 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. > > Actually, that "more information" never got added to > create_foreign_table.sgml. There should've been some text about the > lack for tuple routing at least in PG 10's docs, but I guess that > never happened. Sigh. Since version 10 is going to be supported for a few years still, maybe we should add it there. > Should we start now by listing this UPDATE row movement limitation? I think we should, yes. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services