Re: pgsql: Fix pg_basebackup with in-place tablespaces. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Fix pg_basebackup with in-place tablespaces.
Date
Msg-id 428075.1647379703@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Fix pg_basebackup with in-place tablespaces.  (David Steele <david@pgmasters.net>)
Responses Re: pgsql: Fix pg_basebackup with in-place tablespaces.  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-committers
David Steele <david@pgmasters.net> writes:
> On 3/14/22 19:31, Thomas Munro wrote:
>> Fix pg_basebackup with in-place tablespaces.

> Perhaps I'm being picky, but seems like this logic should be wrapped in:
> if (allow_in_place_tablespaces)
> {
>      <...>
> }
> I worry about strange effects when this GUC is not enabled.

What would happen if someone created an in-place tablespace and
then turned off the GUC?

            regards, tom lane



pgsql-committers by date:

Previous
From: David Steele
Date:
Subject: Re: pgsql: Fix pg_basebackup with in-place tablespaces.
Next
From: Thomas Munro
Date:
Subject: Re: pgsql: Fix pg_basebackup with in-place tablespaces.