From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Amit Langote <amitlangote09@gmail.com>
Cc: David Rowley <david.rowley@2ndquadrant.com>
Cc: Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Cc: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Derek Hans <derek.hans@gmail.com>
Subject: Re: Update does not move row across foreign partitions in v11
Date: Fri, 8 Mar 2019 12:03:18 -0300
Message-ID: <20190308150318.GA8681@alvherre.pgsql> (raw)
In-Reply-To: <CA+HiwqGYbb8r5R7TGJ_js8Mj54fSS=tOrt0P6mzwCcHcAezPkw@mail.gmail.com>
On 2019-Mar-08, Amit Langote wrote:
> On Fri, Mar 8, 2019 at 11:09 PM Alvaro Herrera <alvherre@2ndquadrant.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: alvherre@2ndquadrant.com, amitlangote09@gmail.com, david.rowley@2ndquadrant.com, fujita.etsuro@lab.ntt.co.jp, Langote_Amit_f8@lab.ntt.co.jp, pgsql-hackers@lists.postgresql.org, robertmhaas@gmail.com, derek.hans@gmail.com
Subject: Re: Update does not move row across foreign partitions in v11
In-Reply-To: <20190308150318.GA8681@alvherre.pgsql>
References: <CA+HiwqGYbb8r5R7TGJ_js8Mj54fSS=tOrt0P6mzwCcHcAezPkw@mail.gmail.com> <20190308150318.GA8681@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox