pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Amit Langote <amitlangote09@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: First draft of the PG 15 release notes
Date: Thu, 12 May 2022 09:52:03 -0400
Message-ID: <Yn0RA8IM8fR4PT2G@momjian.us> (raw)
In-Reply-To: <CA+HiwqFn3AdSw_Dr266NC7iwV0Ks6z9AODe3Bk-zywRYmFavEg@mail.gmail.com>
References: <YnqIT8kpiO3m6SD7@momjian.us>
	<CA+HiwqFcEdbNinfK94aTgBJKmtkYGdtkPnjt3b0fVzKi+WZ+KA@mail.gmail.com>
	<YnvLMF8Cji40SiKO@momjian.us>
	<CA+HiwqFn3AdSw_Dr266NC7iwV0Ks6z9AODe3Bk-zywRYmFavEg@mail.gmail.com>

On Thu, May 12, 2022 at 02:27:26PM +0900, Amit Langote wrote:
> > Yes, this is what I needed to know.  The updated text is:
> >
> >         <!--
> >         Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
> >         2022-03-20 [ba9a7e392] Enforce foreign key correctly during cross-partition upd
> >         -->
> >
> >         <listitem>
> >         <para>
> >         Improve foreign key behavior of updates on partitioned tables
> >         that move rows between partitions (Amit Langote)
> >         </para>
> >
> >         <para>
> >         Previously, such updates ran delete actions on the source partition
> >         and insert actions on the target partition.  PostgreSQL will now
> >         run update actions on the partition root.
> >         </para>
> >         </listitem>
> 
> Looks fine to me.  Though I think maybe we should write the last
> sentence as "PostgreSQL will now run update actions on the partition
> root mentioned in the query" to be less ambiguous about which "root",
> because it can also mean the actual root table in the partition tree.
> A user may be updating only a particular subtree by mentioning that
> subtree's root in the query, for example.

Okay, I went with:

	Previously, such updates ran delete actions on the source
	partition and insert actions on the target partition.  PostgreSQL will
	now run update actions on the referenced partition root.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Indecision is a decision.  Inaction is an action.  Mark Batterson






view thread (145+ messages)  latest in thread

Message-ID: <Yn0RA8IM8fR4PT2G@momjian.us>
Permalink:  ../Yn0RA8IM8fR4PT2G@momjian.us/
Also on:    postgresql.org/message-id/Yn0RA8IM8fR4PT2G@momjian.us

 · 

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-hackers@postgresql.org
  Cc: bruce@momjian.us, amitlangote09@gmail.com
  Subject: Re: First draft of the PG 15 release notes
  In-Reply-To: <Yn0RA8IM8fR4PT2G@momjian.us>
  References: <YnqIT8kpiO3m6SD7@momjian.us> <CA+HiwqFcEdbNinfK94aTgBJKmtkYGdtkPnjt3b0fVzKi+WZ+KA@mail.gmail.com> <YnvLMF8Cji40SiKO@momjian.us> <CA+HiwqFn3AdSw_Dr266NC7iwV0Ks6z9AODe3Bk-zywRYmFavEg@mail.gmail.com> <Yn0RA8IM8fR4PT2G@momjian.us>

* 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