pgsql: Replace loading of ldap_start_tls_sA() by direct function call - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Replace loading of ldap_start_tls_sA() by direct function call
Date
Msg-id E1oXWyx-002VkH-5m@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Replace loading of ldap_start_tls_sA() by direct function call

This change impacts the backend-side code in charge of starting a LDAP
TLS session.  It is a bit sad that it is not possible to unify the WIN32
and non-WIN32 code paths, but the different number of arguments for both
discard this possibility.

This is similar to 47bd0b3, where this replaces the last function
loading that seems worth it, any others being either environment or
version-dependent.

Reported-by: Thomas Munro
Reviewed-by: Thomas Munro
Discussion: https://postgr.es/m/Yx0rxpNgDh8tN4XA@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c3fb5809eae3bb6f448ebc562462b39d6b1f6f22

Modified Files
--------------
src/backend/libpq/auth.c | 51 +-----------------------------------------------
1 file changed, 1 insertion(+), 50 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: aix: No need to use mkldexport when we want to export all symbol
Next
From: John Naylor
Date:
Subject: pgsql: Make eval statement naturally proof against perltidy