Re: core dumps in auto_prewarm, tests succeed

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: core dumps in auto_prewarm, tests succeed
Дата
Msg-id
20240123172818.ax62th3chniot37r@awork3.anarazel.de
Ответ на
Список
Дерево обсуждения
core dumps in auto_prewarm, tests succeed Andres Freund <andres@anarazel.de>
Re: core dumps in auto_prewarm, tests succeed Nathan Bossart <nathandbossart@gmail.com>
Re: core dumps in auto_prewarm, tests succeed Nathan Bossart <nathandbossart@gmail.com>
Re: core dumps in auto_prewarm, tests succeed Andres Freund <andres@anarazel.de>
Re: core dumps in auto_prewarm, tests succeed Nathan Bossart <nathandbossart@gmail.com>
Re: core dumps in auto_prewarm, tests succeed Nathan Bossart <nathandbossart@gmail.com>
Re: core dumps in auto_prewarm, tests succeed Nathan Bossart <nathandbossart@gmail.com>
Re: core dumps in auto_prewarm, tests succeed Andres Freund <andres@anarazel.de>
Re: core dumps in auto_prewarm, tests succeed Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: core dumps in auto_prewarm, tests succeed Nathan Bossart <nathandbossart@gmail.com>
Re: core dumps in auto_prewarm, tests succeed Nathan Bossart <nathandbossart@gmail.com>
Re: core dumps in auto_prewarm, tests succeed Nathan Bossart <nathandbossart@gmail.com>
Re: core dumps in auto_prewarm, tests succeed Alexander Lakhin <exclusion@gmail.com>
Re: core dumps in auto_prewarm, tests succeed Andres Freund <andres@anarazel.de>
Re: core dumps in auto_prewarm, tests succeed Alexander Lakhin <exclusion@gmail.com>
Re: core dumps in auto_prewarm, tests succeed Andres Freund <andres@anarazel.de>
Hi,

On 2024-01-22 16:27:43 -0600, Nathan Bossart wrote:
> Here is a patch.

LGTM.


> This might be a topic for another thread, but I do wonder whether we could
> put a generic pg_controldata check in node->stop that would at least make
> sure that the state is some sort of expected shut-down state.  My first
> thought is that it could be a tad expensive, but... maybe it wouldn't be
> too bad.

I think that'd probably would be a good idea - I suspect there'd need to be a
fair number of exceptions, but that it'd be easier to change uses of ->stop()
to the exception case where needed, than to add a new function doing checking
and converting most things to that.

Greetings,

Andres Freund


В списке pgsql-hackers по дате отправления
От: Pavel Stehule
Дата:
От: Andres Freund
Дата:
FAQ