Обсуждение: pgsql: Replace loading of ldap_start_tls_sA() by direct function call

Поиск
Список
Период
Сортировка

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

От
Michael Paquier
Дата:
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(-)