Andres Freund <and...@anarazel.de> writes: > Why do we continue to link the backend to ldap when we find ldap_r, given that > we know that it can cause problems for extension libraries using libpq?
Uh ... if we know that, it's news to me. I think we might've avoided ldap_r for fear of pulling libpthread into the backend; per recent discussion, it's not clear that avoiding that is possible anyway. But you didn't make a case for changing this. regards, tom lane