pgsql: libpq: Remove code for SCM credential authentication - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: libpq: Remove code for SCM credential authentication
Date
Msg-id E1pczK9-003v30-R5@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Small tidyup for commit d41a178b, part II.
Next
From: Andres Freund
Date:
Subject: pgsql: tests: Minimize syslog activity by slapd