agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove scram_client_key_len and scram_server_key_len from PGconn
Date: Thu, 06 Aug 2026 21:31:20 +0000
Message-ID: <E1ws5gO-00000000TxR-0WHE@gemulon.postgresql.org> (raw)

Remove scram_client_key_len and scram_server_key_len from PGconn

Commit 761c79508e7 added scram_client_key_len and scram_server_key_len
to PGconn, but no consumer read the fields and there were no accessor
functions defined.  Code which need the length use SCRAM_MAX_KEY_LEN
which the new fields were also verified to match, so remove the fields
as they are not used.

Author: Aleksander Alekseev <aleksander@tigerdata.com>
Reviewed-by: Matheus Alcantara <matheusssilv97@gmail.com>
Discussion: https://postgr.es/m/CAJ7c6TMx3pyuW86zEjGs4kua0vQPzZEg2sCUe+NnP08fBKuVoQ@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 2 --
src/interfaces/libpq/libpq-int.h  | 2 --
2 files changed, 4 deletions(-)



Message-ID: <E1ws5gO-00000000TxR-0WHE@gemulon.postgresql.org>
Permalink:  ../E1ws5gO-00000000TxR-0WHE@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ws5gO-00000000TxR-0WHE@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: Remove scram_client_key_len and scram_server_key_len from PGconn
  In-Reply-To: <E1ws5gO-00000000TxR-0WHE@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox