Re: pgsql: Add hooks for session start and session end, take two

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pgsql: Add hooks for session start and session end, take two
Дата
Msg-id 20191001052543.GI2781@paquier.xyz
обсуждение исходный текст
Ответ на Re: pgsql: Add hooks for session start and session end, take two  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Add hooks for session start and session end, take two
Список pgsql-committers
On Tue, Oct 01, 2019 at 01:10:36AM -0400, Tom Lane wrote:
> The idea that you can launch a query after proc_exit has started is
> complete insanity.  I hope this is just a poorly-thought-out test
> case, and not something that's inherent to this module.  If there
> are not reasonable use-cases that don't need that, we should just
> revert the feature altogether, because it's nothing but a large
> caliber foot-gun.

That was originally just part of the original test to prove the point
of the session end hook where people wanted to be able to log some
activity once the session is done with.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: Add hooks for session start and session end, take two
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix test_session_hooks with parallel workers