pgsql: Move PG_MAX_AUTH_TOKEN_LENGTH to libpq/auth.h

Поиск
Список
Период
Сортировка
Искать

pgsql: Move PG_MAX_AUTH_TOKEN_LENGTH to libpq/auth.h

От:
Daniel Gustafsson <dgustafsson@postgresql.org>
Дата:
Move PG_MAX_AUTH_TOKEN_LENGTH to libpq/auth.h

Future SASL mechanism, like OAUTHBEARER, will use this as a limit on
token messages coming from the client, so promote it to the header
file to make it available.

This patch is extracted from a larger body of work aimed at adding
support for OAUTHBEARER in libpq.

Author: Jacob Champion 
Reviewed-by: Daniel Gustafsson 
Reviewed-by: Peter Eisentraut 
Discussion: https://postgr.es/m/CAOYmi+kJqzo6XsR9TEhvVfeVNQ-TyFM5LATypm9yoQVYk=4Wrw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e21d6f297158db1383a7c9a668ebe1048f2eac39

Modified Files
--------------
src/backend/libpq/auth.c | 16 ----------------
src/include/libpq/auth.h | 16 ++++++++++++++++
2 files changed, 16 insertions(+), 16 deletions(-)

FAQ