Re: BUG #17083: [PATCH] PostgreSQL fails to build with OpenLDAP 2.5.x

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Adrian Ho <ml+postgresql(at)03s(dot)net>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17083: [PATCH] PostgreSQL fails to build with OpenLDAP 2.5.x
Date: 2021-07-08 20:02:30
Message-ID: C184CEB8-F2D5-4CD7-BDA1-D9F6AD43DD14@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> On 8 Jul 2021, at 21:55, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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/

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Vitali Lovich 2021-07-08 20:33:11 Re: BUG #17095: ./configure fails thread_test.c when run under TSAN
Previous Message PG Bug reporting form 2021-07-08 20:01:21 BUG #17095: ./configure fails thread_test.c when run under TSAN