From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: libpq: Remove code for SCM credential authentication |
Date: | 2023-03-17 01:56:06 |
Message-ID: | E1pczK9-003v30-R5@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
libpq: Remove code for SCM credential authentication
Support for SCM credential authentication has been removed in the
backend in 9.1, and libpq has kept some code to handle it for
compatibility.
Commit be4585b, that did the cleanup of the backend code, has done
so because the code was not really portable originally. And, as there
are likely little chances that this is used these days, this removes the
remaining code from libpq. An error will now be raised by libpq if
attempting to connect to a server that returns AUTH_REQ_SCM_CREDS,
instead.
References to SCM credential authentication are removed from the
protocol documentation. This removes some meson and configure checks.
Author: Michael Paquier
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/ZBLH8a4otfqgd6Kn@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/98ae2c84a49e45c0434c7e1a55bb2fc71582f561
Modified Files
--------------
configure | 16 ---------
configure.ac | 7 ----
doc/src/sgml/libpq.sgml | 10 ------
doc/src/sgml/protocol.sgml | 52 -----------------------------
meson.build | 14 --------
src/include/libpq/pqcomm.h | 2 +-
src/include/pg_config.h.in | 3 --
src/interfaces/libpq/fe-auth.c | 70 ---------------------------------------
src/interfaces/libpq/fe-connect.c | 4 ---
src/tools/msvc/Solution.pm | 1 -
10 files changed, 1 insertion(+), 178 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2023-03-17 02:38:38 | pgsql: tests: Minimize syslog activity by slapd |
Previous Message | Thomas Munro | 2023-03-17 01:49:48 | pgsql: Small tidyup for commit d41a178b, part II. |