On 01/06/2016 10:36 AM, Tom Lane wrote:
> I think a design that was actually somewhat robust would require two
> hooks, one at check_role and one at assign_role, wherein the first one
> would do any potentially-failing work and package all required info into
> a blob that could be passed through to the assign hook.
Fair enough -- will rework the patch and example code.
Thanks!
Joe
--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development