Re: A recent message added to pg_upgade

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема Re: A recent message added to pg_upgade
Дата
Msg-id 20231109.151009.1403545112876038004.horikyota.ntt@gmail.com
обсуждение исходный текст
Ответ на Re: A recent message added to pg_upgade  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы Re: A recent message added to pg_upgade
Список pgsql-hackers
At Thu, 9 Nov 2023 09:53:07 +0530, Amit Kapila <amit.kapila16@gmail.com> wrote in 
> Michael, Horiguchi-San, and others, do you have any thoughts on what
> is the best way to proceed?

As I previously mentioned, I believe that if rejection is to be the
course of action, it would be best to proceed with it sooner rather
than later. On the other hand, I am concerned about the need for users
to perform extra steps depending on the source cluster
conrfiguration. Therefore, another possible approach could be to
simply ignore the given settings in the assignment hook rather than
rejecting by the check hook, and forcibuly apply -1.

What do you think about this third approach?

I haven't checked this with pg_upgrade, but a standalone postmaster
would emit the following messages.

> postgres -b -c max_slot_wal_keep_size=-1
> LOG:  "max_slot_wal_keep_size" is foced to set to -1 during binary upgrade mode.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Relids instead of Bitmapset * in plannode.h
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: pg_upgrade and logical replication