Re: Patch proposal: New hooks in the connection path - Mailing list pgsql-hackers

From Drouvot, Bertrand
Subject Re: Patch proposal: New hooks in the connection path
Date
Msg-id 3a562c62-03e9-1bf5-738b-c00529aba8f7@amazon.com
Whole thread Raw
In response to Re: Patch proposal: New hooks in the connection path  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: Patch proposal: New hooks in the connection path
Re: Patch proposal: New hooks in the connection path
List pgsql-hackers
Hi,

On 7/2/22 1:00 AM, Nathan Bossart wrote:
> Could we model this after fmgr_hook?  The first argument in that hook
> indicates where it is being called from.  This doesn't alleviate the need
> for several calls to the hook in the authentication logic, but extension
> authors would only need to define one hook.

I like the idea and indeed fmgr.h looks a good place to model it.

Attached a new patch version doing so.

Thanks

-- 

Bertrand Drouvot
Amazon Web Services: https://aws.amazon.com

Attachment

pgsql-hackers by date:

Previous
From: Matthias van de Meent
Date:
Subject: Re: [PATCH] Compression dictionaries for JSONB
Next
From: "Drouvot, Bertrand"
Date:
Subject: Re: Patch proposal: New hooks in the connection path