Assert there is no duplicated exit callbacks

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема Assert there is no duplicated exit callbacks
Дата
Msg-id CAJjS0u1YQUx_yPtz+3eSjvR8OMDHh44mUkg_KXg5_d3cT3+r_w@mail.gmail.com
обсуждение исходный текст
Ответы Re: Assert there is no duplicated exit callbacks  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
Attached is a patch to assert there is no duplicated exit callbacks.

Along the way, I downgrade the runtime "enough room" check to an
assertion: the callbacks are registered in pretty fixed initialization
code path, thus assertion is good enough to prevent overlook there. If
we don't agree with this, then the duplication check shall also bump
to runtime checks.

Regards,
Qingqing

Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Turning off HOT/Cleanup sometimes
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: TAP tests of pg_rewind not stopping servers used for the tests