pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move PG_MAX_AUTH_TOKEN_LENGTH to libpq/auth.h
Date: Fri, 31 Jan 2025 15:07:23 +0000
Message-ID: <E1tdsc7-004dlB-OK@gemulon.postgresql.org> (raw)

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.champion@enterprisedb.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Peter Eisentraut <peter@eisentraut.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(-)



Message-ID: <E1tdsc7-004dlB-OK@gemulon.postgresql.org>
Permalink:  ../E1tdsc7-004dlB-OK@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tdsc7-004dlB-OK@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: dgustafsson@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Move PG_MAX_AUTH_TOKEN_LENGTH to libpq/auth.h
  In-Reply-To: <E1tdsc7-004dlB-OK@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox