From: | Daniel Gustafsson <dgustafsson(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Move PG_MAX_AUTH_TOKEN_LENGTH to libpq/auth.h |
Date: | 2025-01-31 15:07:23 |
Message-ID: | E1tdsc7-004dlB-OK@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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 <jacob(dot)champion(at)enterprisedb(dot)com>
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)se>
Reviewed-by: Peter Eisentraut <peter(at)eisentraut(dot)org>
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Gustafsson | 2025-01-31 15:07:24 | pgsql: require_auth: prepare for multiple SASL mechanisms |
Previous Message | Daniel Gustafsson | 2025-01-31 09:50:37 | pgsql: doc: Fix pg_buffercache_evict() title |