Re: Regression test PANICs with master-standby setup on same machine

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Regression test PANICs with master-standby setup on same machine
Дата
Msg-id 20190423070818.GM2712@paquier.xyz
обсуждение исходный текст
Ответ на Re: Regression test PANICs with master-standby setup on same machine  (Andres Freund <andres@anarazel.de>)
Ответы Re: Regression test PANICs with master-standby setup on samemachine  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Re: Regression test PANICs with master-standby setup on same machine  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Mon, Apr 22, 2019 at 11:00:03PM -0700, Andres Freund wrote:
> FWIW, I think the right fix for this is to simply drop the requirement
> that tablespace paths need to be absolute. It's not buying us anything,
> it's just making things more complicated. We should just do a simple
> check against the tablespace being inside PGDATA, and leave it at
> that. Yes, that can be tricked, but so can the current system.

convert_and_check_filename() checks after that already, mostly.  For
TAP tests I am not sure that this would help much though as all the
nodes of a given test use the same root path for their data folders,
so you cannot just use "../hoge/" as location.  We already generate a
warning when a tablespace is in a data folder, as this causes issues
with recursion lookups of base backups.  What do you mean in this
case?  Forbidding the behavior?
--
Michael

Вложения

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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: pg_dump is broken for partition tablespaces
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Symbol referencing errors