pgsql: Remove scram_client_key_len and scram_server_key_len from PGconn

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove scram_client_key_len and scram_server_key_len from PGconn
Date: 2026-08-06 21:31:20
Message-ID: E1ws5gO-00000000TxR-0WHE@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)tigerdata(dot)com>
Reviewed-by: Matheus Alcantara <matheusssilv97(at)gmail(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Melanie Plageman 2026-08-06 21:33:47 pgsql: Restore vacuum failsafe abandonment of buffer access strategy
Previous Message Melanie Plageman 2026-08-06 21:29:55 pgsql: Restore vacuum failsafe abandonment of buffer access strategy