Re: [PATCH] Pull general SASL framework out of SCRAM

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [PATCH] Pull general SASL framework out of SCRAM
Дата
Msg-id YO5AJ+pNuPkvfSYh@paquier.xyz
обсуждение исходный текст
Ответ на Re: [PATCH] Pull general SASL framework out of SCRAM  (Jacob Champion <pchampion@vmware.com>)
Список pgsql-hackers
On Tue, Jul 13, 2021 at 10:41:01PM +0000, Jacob Champion wrote:
> Just to make sure -- do we want to export the fe-auth-sasl.h header as
> opposed to forward-declaring the pg_fe_sasl_mech struct?

Installing fe-auth-sasl.h has the advantage to make the internals of
the callbacks available to applications playing with the internals.
For SASL, it makes things easier to define new mechanisms out of
core.

> Is the use
> case for libpq-int.h just "here, have at the internals, and if you
> break it then it's on you"?

Yes, it can be useful for applications willing to use the internals of
libpq, like in forks.  There is no guarantee that this will not break
across major version upgrades, so that's up to the user to fix things
once they play with the internals.
--
Michael

Вложения

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

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Incorrect usage of strtol, atoi for non-numeric junk inputs
Следующее
От: Ranier Vilela
Дата:
Сообщение: Re: Add proper planner support for ORDER BY / DISTINCT aggregates