Re: [HACKERS] [PATCH] A hook for session start - Mailing list pgsql-hackers

From Andres Freund
Subject Re: [HACKERS] [PATCH] A hook for session start
Date
Msg-id 20170801194233.atf4wf7y7xbrqqal@alap3.anarazel.de
Whole thread Raw
In response to Re: [HACKERS] [PATCH] A hook for session start  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] [PATCH] A hook for session start
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] [PATCH] A hook for session start