mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
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
This commit is contained in:
@ -1682,13 +1682,6 @@ AC_DEFINE_UNQUOTED([pg_restrict], [$pg_restrict],
|
||||
[Define to keyword to use for C99 restrict support, or to nothing if not
|
||||
supported])
|
||||
|
||||
AC_CHECK_TYPES([struct cmsgcred], [], [],
|
||||
[#include <sys/socket.h>
|
||||
#include <sys/param.h>
|
||||
#ifdef HAVE_SYS_UCRED_H
|
||||
#include <sys/ucred.h>
|
||||
#endif])
|
||||
|
||||
AC_CHECK_TYPES([struct option], [], [],
|
||||
[#ifdef HAVE_GETOPT_H
|
||||
#include <getopt.h>
|
||||
|
Reference in New Issue
Block a user