Re: Update does not move row across foreign partitions in v11

From: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
To: Etsuro Fujita <fujita(dot)etsuro(at)lab(dot)ntt(dot)co(dot)jp>
Cc: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Derek Hans <derek(dot)hans(at)gmail(dot)com>
Subject: Re: Update does not move row across foreign partitions in v11
Date: 2019-03-06 06:34:12
Message-ID: 16381946-c020-7099-f8fc-f5a8e11d6fb5@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Fujita-san,

On 2019/03/06 15:10, Etsuro Fujita wrote:
> --- 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.

Thanks for checking.

I have updated the patch to include a line about this in the same
paragraph, because maybe we don't need to make a new <listitem> for it.

Thanks,
Amit

Attachment Content-Type Size
document-update-row-movement-limitation-v2.patch text/plain 769 bytes

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rob Sargent 2019-03-06 07:45:50 query has no destination for result data
Previous Message Etsuro Fujita 2019-03-06 06:16:25 Re: Update does not move row across foreign partitions in v11

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuro Yamada 2019-03-06 06:38:54 Re: [HACKERS] CLUSTER command progress monitor
Previous Message Tatsuro Yamada 2019-03-06 06:25:48 Re: [HACKERS] CLUSTER command progress monitor