pgsql: Replace loading of ldap_start_tls_sA() by direct function call

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Replace loading of ldap_start_tls_sA() by direct function call
Date: 2022-09-12 00:07:23
Message-ID: E1oXWyx-002VkH-5m@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message John Naylor 2022-09-12 05:11:18 pgsql: Make eval statement naturally proof against perltidy
Previous Message Andres Freund 2022-09-11 18:19:25 Re: pgsql: aix: No need to use mkldexport when we want to export all symbol