Re: pg_upgrade fails with in-place tablespace[

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pg_upgrade fails with in-place tablespace[
Дата
Msg-id ZPFvd3TvMSFZjIjL@paquier.xyz
обсуждение исходный текст
Ответ на Re: pg_upgrade fails with in-place tablespace  ("Rui Zhao" <xiyuan.zr@alibaba-inc.com>)
Ответы Re: pg_upgrade fails with in-place tablespace[  ("Rui Zhao" <xiyuan.zr@alibaba-inc.com>)
Список pgsql-hackers
On Sat, Aug 19, 2023 at 08:11:28PM +0800, Rui Zhao wrote:
> Please refer to the TAP test I have included for a better understanding
> of my suggestion.

Sure, but it seems to me that my original question is not really
answered:  what's your use case for being able to support in-place
tablespaces in pg_upgrade?  The original use case being such
tablespaces is to ease the introduction of tests with primaries and
standbys, which is not something that really applies to pg_upgrade,
no?  Perhaps there is meaning in having more TAP tests with
tablespaces and a combination of primary/standbys, still having
in-place tablespaces does not really make much sense to me because, as
these are in the data folder, we don't use them to test the path
re-creation logic.

I think that we should just add a routine in check.c that scans
pg_tablespace, reporting all the non-absolute paths found with their
associated tablespace names.
--
Michael

Вложения

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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: remaining sql/json patches
Следующее
От: vignesh C
Дата:
Сообщение: Re: persist logical slots to disk during shutdown checkpoint