pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: Re: pgsql: Doc: desultory copy-editing for v10 release notes.
Date: Mon, 10 Jul 2017 10:09:40 +0900
Message-ID: <3a4dcc63-2dfe-3e94-3325-39d491384c09@lab.ntt.co.jp> (raw)
In-Reply-To: <E1dUMIh-0007bF-GG@gemulon.postgresql.org>
References: <E1dUMIh-0007bF-GG@gemulon.postgresql.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

On 2017/07/10 9:11, Tom Lane wrote:
> Doc: desultory copy-editing for v10 release notes.
> 
> Improve many item descriptions, improve markup, relocate some items
> that seemed to be in the wrong section.
> 
> Branch
> ------
> master
> 
> Details
> -------
> https://git.postgresql.org/pg/commitdiff/749eceff4a1f9740391b126c81af9fd4bf3b1eaa

I see you updated text for the partitioning item:

@@ -1574,7 +1553,7 @@
       <para>
        Add table <link linkend="SQL-CREATETABLE-PARTITION">partitioning
        syntax</> that automatically creates partition constraints and
-       <command>INSERT</> routing (Amit Langote)
+       handles routing of tuple insertions and updates (Amit Langote)
       </para>

Although I like the new text better, I'm afraid that we don't support
routing updates yet, only inserts.

create table p (a int) partition by list (a);
create table p1 partition of p for values in (1);
insert into p values (1);

update p set a = a + 1;
ERROR:  new row for relation "p1" violates partition constraint
DETAIL:  Failing row contains (2).

Routing of updates is being worked on for PG 11 [1].

Attached patch removes "and updates".

Thanks,
Amit

[1] https://commitfest.postgresql.org/14/1023/

-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Attachments:

no-update-routing-in-10.patch (text/plain, 520B) download diff --git a/doc/src/sgml/release-10.sgml b/doc/src/sgml/release-10.sgml index debaa80099..7ecb66f7af 100644 --- a/doc/src/sgml/release-10.sgml +++ b/doc/src/sgml/release-10.sgml @@ -1553,7 +1553,7 @@ <para> Add table <link linkend="SQL-CREATETABLE-PARTITION">partitioning syntax</> that automatically creates partition constraints and - handles routing of tuple insertions and updates (Amit Langote) + handles routing of tuple insertions (Amit Langote) </para> <para>

view thread (4+ messages)  latest in thread

Message-ID: <3a4dcc63-2dfe-3e94-3325-39d491384c09@lab.ntt.co.jp>
Permalink:  ../3a4dcc63-2dfe-3e94-3325-39d491384c09@lab.ntt.co.jp/
Also on:    postgresql.org/message-id/3a4dcc63-2dfe-3e94-3325-39d491384c09@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-committers@postgresql.org
  Cc: Langote_Amit_f8@lab.ntt.co.jp, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Doc: desultory copy-editing for v10 release notes.
  In-Reply-To: <3a4dcc63-2dfe-3e94-3325-39d491384c09@lab.ntt.co.jp>
  References: <E1dUMIh-0007bF-GG@gemulon.postgresql.org> <3a4dcc63-2dfe-3e94-3325-39d491384c09@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