Re: [PATCH] A hook for session start
Nico Williams <nico@cryptonector.com>
From: Nico Williams <nico@cryptonector.com>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Jim Mlodgenski <jimmy76@gmail.com>, 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-10-05T20:31:40Z
Lists: pgsql-hackers
On Tue, Aug 01, 2017 at 03:36:23PM -0400, Peter Eisentraut wrote: > On 7/21/17 13:14, Jim Mlodgenski wrote: > > When I first saw this thread, my initial thought of a use case is to > > prepare some key application queries so they are there and ready to go. > > That would need to be before the ExecutorStart_hook or > > ProcessUtility_hook if an app would just want to execute the prepared > > statement. > > Isn't that what the preprepare extension does already? more generic facility -> more useful My use case is to pre-create TEMP schema elements that VIEWs, FUNCTIONs, and TRIGGERs, might need. Nico --
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