Re: [PATCH] A hook for session start
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Craig Ringer <craig@2ndquadrant.com>, Yugo Nagata <nagata@sraoss.co.jp>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Fabrízio de Royes Mello <fabriziomello@gmail.com>
Date: 2017-08-01T19:42:33Z
Lists: 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
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add hooks for session start and session end, take two
- e788bd924c19 13.0 landed