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

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: pgsql: Add hooks for session start and session end, take two
Дата
Msg-id CAHGQGwGy7Dg95YXppzRqiX-q=y5mePKSS8YjX13CMHe9h0WbWQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: Add hooks for session start and session end, take two  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: pgsql: Add hooks for session start and session end, take two
Re: pgsql: Add hooks for session start and session end, take two
Список pgsql-committers
On Wed, Oct 2, 2019 at 9:26 AM Michael Paquier <michael@paquier.xyz> wrote:
>
> On Tue, Oct 01, 2019 at 05:02:28PM -0700, Andres Freund wrote:
> > The reason for that is simply that at that point llvmjit.c's own
> > shutdown hook has already shutdown parts of the JIT subsystem (which
> > needs to flush profiling information to disk, for profiling to be
> > useful).
>
> Hmm.  I missed the actual point.  The current location for the session
> end hook has been chosen because we are sure that any transaction has
> been aborted properly, and we'd still be limited with a hook in
> proc_exit_prepare() because of that same argument.  I am just going to
> revert the patch.

If only session end hook is problematic, you will commit session start
hook again?

Regards,

-- 
Fujii Masao



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

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