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

From Peter Eisentraut
Subject Re: [HACKERS] [PATCH] A hook for session start
Date
Msg-id 2d156969-682c-a018-4a64-171fd47296dd@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] [PATCH] A hook for session start  (Jim Mlodgenski <jimmy76@gmail.com>)
Responses Re: [HACKERS] [PATCH] A hook for session start  (Nico Williams <nico@cryptonector.com>)
List pgsql-hackers
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?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] Remove 1MB size limit in tsvector
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] [PATCH] A hook for session start