Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames. - Mailing list pgsql-committers

From Thomas Munro
Subject Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames.
Date
Msg-id CAEepm=3RU68WaZbmQSBRmMwJH1=-O3bRKxaY2wxT=s+6qtfqXA@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames.
List pgsql-committers
On Tue, Nov 13, 2018 at 6:54 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Thomas Munro <thomas.munro@enterprisedb.com> writes:
> > Thanks, fixing.  Embarassingly, I had turned off -Werror for this
> > because my Mac spews strange warnings when you use OpenLDAP, a problem
> > to which there must be a better solution.
>
> Hm, what warnings?

Apple ships OpenLDAP headers that tell you to ditch it and use Apple
OpenDirectory Framework:

fe-connect.c:4354:6: warning: 'ldap_set_option' is deprecated: first
deprecated in macOS 10.11 - use OpenDirectory Framework
[-Wdeprecated-declarations]

I should probably use MacPorts for that.

-- 
Thomas Munro
http://www.enterprisedb.com


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames.
Next
From: Thomas Munro
Date:
Subject: pgsql: Fix const correctness warning.