Re: BUG #17083: [PATCH] PostgreSQL fails to build with OpenLDAP 2.5.x - Mailing list pgsql-bugs

From Daniel Gustafsson
Subject Re: BUG #17083: [PATCH] PostgreSQL fails to build with OpenLDAP 2.5.x
Date
Msg-id C184CEB8-F2D5-4CD7-BDA1-D9F6AD43DD14@yesql.se
Whole thread Raw
In response to Re: BUG #17083: [PATCH] PostgreSQL fails to build with OpenLDAP 2.5.x  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
> On 8 Jul 2021, at 21:55, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> That being the case, I think we might be okay just going with the
> solution in Adrian's last patch, ie use libldap_r if it's there
> and otherwise assume that libldap is thread-safe.  It looks
> fairly unlikely that anyone will ever have an issue with that;
> while if we complicate the configure probe, we might be introducing
> new problems just from that.

Absolutely, in light of that I agree that's the best option.

--
Daniel Gustafsson        https://vmware.com/




pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #17095: ./configure fails thread_test.c when run under TSAN
Next
From: Vitali Lovich
Date:
Subject: Re: BUG #17095: ./configure fails thread_test.c when run under TSAN