Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMZrA-0006dA-8y for pgsql-committers@arkaria.postgresql.org; Tue, 13 Nov 2018 14:39:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gMZr7-0003eN-LX for pgsql-committers@arkaria.postgresql.org; Tue, 13 Nov 2018 14:39:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMZr7-0003eG-Gc for pgsql-committers@lists.postgresql.org; Tue, 13 Nov 2018 14:39:53 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMZr5-0006b7-4i for pgsql-committers@lists.postgresql.org; Tue, 13 Nov 2018 14:39:53 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id wADEdjII014115; Tue, 13 Nov 2018 09:39:46 -0500 From: Tom Lane To: Thomas Munro cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames. In-reply-to: References: <25361.1542087431@sss.pgh.pa.us> <26036.1542088477@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Tue, 13 Nov 2018 18:58:49 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <14113.1542119985.1@sss.pgh.pa.us> Date: Tue, 13 Nov 2018 09:39:45 -0500 Message-ID: <14114.1542119985@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Munro writes: > On Tue, Nov 13, 2018 at 6:54 PM Tom Lane wrote: >> Hm, what warnings? > Apple ships OpenLDAP headers that tell you to ditch it and use Apple > OpenDirectory Framework: Oh, that. I just use -Wno-deprecated-declarations. A bigger issue to my mind is that configure bleats about the OpenLDAP version: checking for compatible LDAP implementation... (cached) no configure: WARNING: *** With OpenLDAP versions 2.4.24 through 2.4.31, inclusive, each backend *** process that loads libpq (via WAL receiver, dblink, or postgres_fdw) and *** also uses LDAP will crash on exit. I have not experimented to see if that's really true on recent macOS, but if it is, it'd be a problem for production use. regards, tom lane