pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: libpq: Remove code for SCM credential authentication
Date: Fri, 17 Mar 2023 01:56:06 +0000
Message-ID: <E1pczK9-003v30-R5@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1pczK9-003v30-R5@gemulon.postgresql.org>
Permalink:  ../E1pczK9-003v30-R5@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pczK9-003v30-R5@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: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: libpq: Remove code for SCM credential authentication
  In-Reply-To: <E1pczK9-003v30-R5@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