Re: [HACKERS] [PATCH] A hook for session start

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [HACKERS] [PATCH] A hook for session start
Дата
Msg-id 20170801194233.atf4wf7y7xbrqqal@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [HACKERS] [PATCH] A hook for session start  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
On 2017-08-01 15:37:40 -0400, Peter Eisentraut wrote:
> On 7/21/17 12:59, Robert Haas wrote:
> > That's an exceedingly-weak argument for rejecting this patch.  The
> > fact that you can probably hack around the lack of a hook for most
> > reasonable use cases is not an argument for having a hook that does
> > what people actually want to do.
> 
> Still nobody has presented a concrete use case so far.

Citus for example starts a background worker (performing
e.g. distributed deadlock detection) if the citus extension exists. We
atm need annoying hacks to do so when the first query is executed.

- Andres



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] [PATCH] A hook for session start
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] [PATCH] A hook for session start