Re: please update ps display for recovery checkpoint

Поиск
Список
Период
Сортировка
От Bossart, Nathan
Тема Re: please update ps display for recovery checkpoint
Дата
Msg-id 59A309AA-87C4-457E-A9D4-922BC5A418BA@amazon.com
обсуждение исходный текст
Ответ на Re: please update ps display for recovery checkpoint  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: please update ps display for recovery checkpoint  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On 12/10/20, 7:54 PM, "Michael Paquier" <michael@paquier.xyz> wrote:
> However, I think that it would be better to have all those four code
> paths controlled by a single routine, where we pass down the
> checkpoint flags and fill in the ps string directly depending on what
> the caller wants to do.  This way, we will avoid any inconsistent
> updates if this stuff gets extended in the future, and there will be
> all the information at hand to extend the logic.  So I have simplified
> your patch as per the attached.  Thoughts?

This approach seems reasonable to me.  I've attached my take on it.

Nathan


Вложения

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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: [PATCH] postgres_fdw connection caching - cause remote sessions linger till the local session exit
Следующее
От: PegoraroF10
Дата:
Сообщение: anonymous block returning like a function