pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: David Rowley <david.rowley@2ndquadrant.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Derek Hans <derek.hans@gmail.com>
Subject: Re: Update does not move row across foreign partitions in v11
Date: Wed, 06 Mar 2019 15:10:38 +0900
Message-ID: <5C7F645E.2080805@lab.ntt.co.jp> (raw)
In-Reply-To: <396fc4ca-eeba-e8af-cd72-90861469d3da@lab.ntt.co.jp>
References: <CAGrP7a3Xc1Qy_B2WJcgAD8uQTS_NDcJn06O5mtS_Ne1nYhBsyw@mail.gmail.com>
	<20190227193114.GA19279@alvherre.pgsql>
	<CAGrP7a0VhvM23m_kSsXUc1iAj4Z5DkyBaqq=fhxAS8VxNaFZ5w@mail.gmail.com>
	<CAKJS1f-kwK71B8TV7tbe5dpbhVvR-7J5TqHCiQkw8pbwdwD-dw@mail.gmail.com>
	<e8281e87-c5e6-25d3-f92e-e850c27c76e9@lab.ntt.co.jp>
	<CAKJS1f9RGnd=fdEKWqyS3OBBUsR1Roy4wJmzadGhRe=Qf2_0LQ@mail.gmail.com>
	<14069ba3-20bb-529b-f104-4e282dc3e322@lab.ntt.co.jp>
	<5C7F46CC.6010801@lab.ntt.co.jp>
	<396fc4ca-eeba-e8af-cd72-90861469d3da@lab.ntt.co.jp>

(2019/03/06 13:18), Amit Langote wrote:
> The main problem here is indeed that the limitation is not listed under
> the partitioning limitations in ddl.sgml, where it's easier to notice than
> in the UPDATE's page.

Agreed.

> I've updated my patch to remove the release-11.sgml
> changes.

Thanks for the updated patch!

inline patch 1: doc/src/sgml/ddl.sgml (+0/-0 lines) download inline-1.patch--- a/doc/src/sgml/ddl.sgml +++ b/doc/src/sgml/ddl.sgml @@ -3376,6 +3376,13 @@ ALTER TABLE measurement ATTACH PARTITION
measurement_y2008m02 </para> </listitem> + <listitem> + <para> + <command>UPDATE</command> row movement is not supported in the cases + where the old row is contained in a foreign table partition. + </para> + </listitem> ISTM that it's also a limitation that rows can be moved from a local partition to a foreign partition *if the FDW support tuple routing*, so I would vote for mentioning that as well here. Best regards, Etsuro Fujita

view thread (33+ messages)  latest in thread

Message-ID: <5C7F645E.2080805@lab.ntt.co.jp>
Permalink:  ../5C7F645E.2080805@lab.ntt.co.jp/
Also on:    postgresql.org/message-id/5C7F645E.2080805@lab.ntt.co.jp

 ·  · 

reply

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: fujita.etsuro@lab.ntt.co.jp, Langote_Amit_f8@lab.ntt.co.jp, david.rowley@2ndquadrant.com, pgsql-hackers@lists.postgresql.org, robertmhaas@gmail.com, alvherre@2ndquadrant.com, derek.hans@gmail.com
  Subject: Re: Update does not move row across foreign partitions in v11
  In-Reply-To: <5C7F645E.2080805@lab.ntt.co.jp>
  References: <CAGrP7a3Xc1Qy_B2WJcgAD8uQTS_NDcJn06O5mtS_Ne1nYhBsyw@mail.gmail.com> <20190227193114.GA19279@alvherre.pgsql> <CAGrP7a0VhvM23m_kSsXUc1iAj4Z5DkyBaqq=fhxAS8VxNaFZ5w@mail.gmail.com> <CAKJS1f-kwK71B8TV7tbe5dpbhVvR-7J5TqHCiQkw8pbwdwD-dw@mail.gmail.com> <e8281e87-c5e6-25d3-f92e-e850c27c76e9@lab.ntt.co.jp> <CAKJS1f9RGnd=fdEKWqyS3OBBUsR1Roy4wJmzadGhRe=Qf2_0LQ@mail.gmail.com> <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>

* 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