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