pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Update configure's probe for libldap to work with OpenLDAP 2.5.
Date: Fri, 09 Jul 2021 16:39:20 +0000
Message-ID: <E1m1tX6-0000HR-NY@gemulon.postgresql.org> (raw)

Update configure's probe for libldap to work with OpenLDAP 2.5.

The separate libldap_r is gone and libldap itself is now always
thread-safe.  Unfortunately there seems no easy way to tell by
inspection whether libldap is thread-safe, so we have to take
it on faith that libldap is thread-safe if there's no libldap_r.
That should be okay, as it appears that libldap_r was a standard
part of the installation going back at least 20 years.

Report and patch by Adrian Ho.  Back-patch to all supported
branches, since people might try to build any of them with
a newer OpenLDAP.

Discussion: https://postgr.es/m/17083-a19190d9591946a7@postgresql.org

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5620ec83362d08b9f86c90c97c0a70031c4d0b2c

Modified Files
--------------
configure                  | 89 +++++++++++++++++++++++++++-------------------
configure.ac               | 20 ++++++-----
src/include/pg_config.h.in |  3 --
src/tools/msvc/Solution.pm |  1 -
4 files changed, 64 insertions(+), 49 deletions(-)



view thread (7+ messages)  latest in thread

Message-ID: <E1m1tX6-0000HR-NY@gemulon.postgresql.org>
Permalink:  ../E1m1tX6-0000HR-NY@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1m1tX6-0000HR-NY@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Update configure's probe for libldap to work with OpenLDAP 2.5.
  In-Reply-To: <E1m1tX6-0000HR-NY@gemulon.postgresql.org>
  References: <E1m1tX6-0000HR-NY@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