pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Pg Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: propagating replica identity to partitions
Date: Fri, 15 Mar 2019 00:40:05 +0100
Message-ID: <a1750098-5d90-1e61-2beb-c8b74e3332eb@2ndquadrant.com> (raw)
In-Reply-To: <20190228224111.GA24086@alvherre.pgsql>
References: <20190228224111.GA24086@alvherre.pgsql>

On 2019-02-28 23:41, Alvaro Herrera wrote:
> Maybe ADD GENERATED AS IDENTITY / DROP IDENTITY should recurse; not
> really sure about this one.  Peter?

No, the intention is that only the partition root has the identity
property.  If you wanted to make it recurse, then you'd need to arrange
it so that all partitions refer to the same sequence, but that's
currently not possible.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (37+ messages)  latest in thread

Message-ID: <a1750098-5d90-1e61-2beb-c8b74e3332eb@2ndquadrant.com>
Permalink:  ../a1750098-5d90-1e61-2beb-c8b74e3332eb@2ndquadrant.com/
Also on:    postgresql.org/message-id/a1750098-5d90-1e61-2beb-c8b74e3332eb@2ndquadrant.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, alvherre@2ndquadrant.com, robertmhaas@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: propagating replica identity to partitions
  In-Reply-To: <a1750098-5d90-1e61-2beb-c8b74e3332eb@2ndquadrant.com>

* 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