Re: propagating replica identity to partitions - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: propagating replica identity to partitions
Date
Msg-id 1d8cb708-90c9-8839-e30d-bc28747f04a3@2ndquadrant.com
Whole thread Raw
In response to Re: propagating replica identity to partitions  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On 2019-03-28 17:46, Alvaro Herrera wrote:
> Thanks, Michael and Peter, for responding; however there is a second
> part to the question, which is "should I change the recursivity of
> REPLICA IDENTITY, while not simultaneously changing the recusivity of
> the TABLESPACE and OWNER TO forms of ALTER TABLE?"
> 
> I think everyone agrees that REPLICA IDENTITY should be changed.  The
> question is whether it's bad behavior from my part to change it
> separately from changing every other non-currently-recursive form.

If this were new functionality, I would tend to think that ALTER TABLE
should by default recurse for everything.  I don't know the history of
why it is not done for some things.  It might be a mistake, just like
the replica identity case apparently is.

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



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: patch to allow disable of WAL recycling
Next
From: Peter Eisentraut
Date:
Subject: Re: propagating replica identity to partitions