Re: Patch proposal: New hooks in the connection path

Поиск
Список
Период
Сортировка
От Drouvot, Bertrand
Тема Re: Patch proposal: New hooks in the connection path
Дата
Msg-id 3a562c62-03e9-1bf5-738b-c00529aba8f7@amazon.com
обсуждение исходный текст
Ответ на Re: Patch proposal: New hooks in the connection path  (Nathan Bossart <nathandbossart@gmail.com>)
Ответы Re: Patch proposal: New hooks in the connection path  (Zhihong Yu <zyu@yugabyte.com>)
Re: Patch proposal: New hooks in the connection path  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Список 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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Matthias van de Meent
Дата:
Сообщение: Re: [PATCH] Compression dictionaries for JSONB
Следующее
От: "Drouvot, Bertrand"
Дата:
Сообщение: Re: Patch proposal: New hooks in the connection path