From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Update configure's probe for libldap to work with OpenLDAP 2.5. |
Date: | 2021-07-09 16:39:20 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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/[email protected]
Branch
------
REL_10_STABLE
Modified Files
--------------
configure | 89 +++++++++++++++++++++++++++-------------------
configure.in | 20 ++++++-----
src/include/pg_config.h.in | 3 --
3 files changed, 64 insertions(+), 48 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2021-07-09 17:38:34 | pgsql: Avoid creating a RESULT RTE that's marked LATERAL. |
Previous Message | Tom Lane | 2021-07-09 15:02:54 | pgsql: Reject cases where a query in WITH rewrites to just NOTIFY. |