Position of ClientAuthentication hook

From: Rafia Sabih <rafia(dot)pghackers(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Position of ClientAuthentication hook
Date: 2021-06-14 12:51:39
Message-ID: CA+FpmFcoFLiZ5x3xQaAzJsJyYT8uafUr6JYzqiZ36n6gk7EtPw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2021-06-14 12:56:15 Re: contrib/pg_visibility fails regression under CLOBBER_CACHE_ALWAYS
Previous Message Jonathan S. Katz 2021-06-14 12:50:01 Re: unnesting multirange data types