On Mon, Oct 28, 2013 at 6:27 PM, Tom Lane wrote:
> roleid = get_role_oid(port->user_name, true);
Thank you for that, that appears to work very well to my purpose, as
does ClientAuthentication_hook, now.
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make chang
Daniel Farina writes:
> What hook would you recommend that matches this criteria:
> * Runs post-authentication
> * ..Once
ClientAuthentication_hook
> My general approach has been to try to use
> GetUserNameFromId(GetSessionUserId()), but this requires
> InitializeSessionUserId be called first,
What hook would you recommend that matches this criteria:
* Runs post-authentication
* ..Once
I was putting together a little extension module[0] intended to do
connection limits out-of-band with the catalog (so that hot standbys
and primaries can have different imposed connection limits), but a