Re: pgsql: Fix pg_basebackup with in-place tablespaces.

Поиск
Список
Период
Сортировка
От David Steele
Тема Re: pgsql: Fix pg_basebackup with in-place tablespaces.
Дата
Msg-id 66373991-e520-40c1-f1e8-c758c7b24cb7@pgmasters.net
обсуждение исходный текст
Ответ на pgsql: Fix pg_basebackup with in-place tablespaces.  (Thomas Munro <tmunro@postgresql.org>)
Ответы Re: pgsql: Fix pg_basebackup with in-place tablespaces.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
On 3/14/22 19:31, Thomas Munro wrote:
> Fix pg_basebackup with in-place tablespaces.
> 
> Previously, pg_basebackup from a cluster that contained an 'in-place'
> tablespace, as introduced by commit 7170f215, would produce a harmless
> warning on Unix and fail completely on Windows.

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.

Regards,
-David



В списке pgsql-committers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Add 'basebackup_to_shell' contrib module.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix pg_basebackup with in-place tablespaces.