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: Replace loading of ldap_start_tls_sA() by direct function call
Date: Mon, 12 Sep 2022 00:07:23 +0000
Message-ID: <E1oXWyx-002VkH-5m@gemulon.postgresql.org> (raw)

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



Message-ID: <E1oXWyx-002VkH-5m@gemulon.postgresql.org>
Permalink:  ../E1oXWyx-002VkH-5m@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oXWyx-002VkH-5m@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Replace loading of ldap_start_tls_sA() by direct function call
  In-Reply-To: <E1oXWyx-002VkH-5m@gemulon.postgresql.org>
  References: <E1oXWyx-002VkH-5m@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