Position of ClientAuthentication hook - Mailing list pgsql-hackers

From Rafia Sabih
Subject Position of ClientAuthentication hook
Date
Msg-id CA+FpmFcoFLiZ5x3xQaAzJsJyYT8uafUr6JYzqiZ36n6gk7EtPw@mail.gmail.com
Whole thread Raw
Responses Re: Position of ClientAuthentication hook  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Hello hackers,

I have a doubt regarding the positioning of clientAuthentication hook
in function ClientAuthentication. Particularly, in case of hba errors,
i.e. cases uaReject or uaImplicitReject it errors out, leading to no
calls to any functions attached to the authentication hook. Can't we
process the hook function first and then error out...?

-- 
Regards,
Rafia Sabih



pgsql-hackers by date:

Previous
From: "Jonathan S. Katz"
Date:
Subject: Re: unnesting multirange data types
Next
From: Masahiko Sawada
Date:
Subject: Re: contrib/pg_visibility fails regression under CLOBBER_CACHE_ALWAYS