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

From Simon Riggs
Subject Re: propagating replica identity to partitions
Date
Msg-id CANP8+j+wCRm9Hn86GaQ3xk03=WB7P0SUKeomScecSEuaJ-3r=Q@mail.gmail.com
Whole thread Raw
In response to Re: propagating replica identity to partitions  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
On Fri, 29 Mar 2019 at 09:51, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:
On 2019-03-28 18:16, Simon Riggs wrote:
> SET TABLESPACE should not recurse because it copies the data, while
> holding long locks. If that was ever fixed so it happened concurrently,
> I would agree this could recurse by default.

Since a partitioned table has no storage, what is the meaning of moving
a partitioned table to a different tablespace without recursing?

My point was that people will misuse it and regret at length, but the data copying behavior is clearly documented.

If you are saying there is no other possible interpretation of that command, then I relent. It is important we have a way to do this, if people wish it.

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

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pg_upgrade: Pass -j down to vacuumdb
Next
From: Peter Eisentraut
Date:
Subject: Re: pg_basebackup ignores the existing data directory permissions