Re: Proposal: SET ROLE hook - Mailing list pgsql-hackers

From David Steele
Subject Re: Proposal: SET ROLE hook
Date
Msg-id 56E97B96.6020400@pgmasters.net
Whole thread Raw
In response to Re: Proposal: SET ROLE hook  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Proposal: SET ROLE hook
List pgsql-hackers
On 3/6/16 1:17 AM, Pavel Stehule wrote:

> 2016-03-05 21:49 GMT+01:00 Joe Conway <mail@joeconway.com
> <mailto:mail@joeconway.com>>:
> 
>     I still don't see any point in trying to pass data back from the hooks
>     as the extension can maintain that state just fine, although it looks
>     like it would be pretty trivial to do using a new void* member added to
>     role_auth_extra. Tom (or anyone else), any comment on that?
> 
> see Tom's comment, I share his opinion.
> 
>     I do however find myself wishing I could pass the action down from
>     set_config_option() to at least the assign_role() hook, but that seems
>     more invasive than I'd like.
> 
> describe this use case, please.

Joe, it looks there are some unresolved questions from Pavel and Craig
on this thread and probably a new patch is required.  Any idea when you
can get to that?

Thanks,
-- 
-David
david@pgmasters.net



pgsql-hackers by date:

Previous
From: David Steele
Date:
Subject: Re: Password identifiers, protocol aging and SCRAM protocol
Next
From: Joe Conway
Date:
Subject: Re: Proposal: SET ROLE hook