Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YInkv-0003wH-Ql for pgsql-committers@arkaria.postgresql.org; Wed, 04 Feb 2015 00:23:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YInkv-000212-Bd for pgsql-committers@arkaria.postgresql.org; Wed, 04 Feb 2015 00:23:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YInkt-00020t-HC for pgsql-committers@postgresql.org; Wed, 04 Feb 2015 00:23:43 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YInkk-0004cY-8f for pgsql-committers@postgresql.org; Wed, 04 Feb 2015 00:23:42 +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 t140NNkJ012316; Tue, 3 Feb 2015 19:23:23 -0500 From: Tom Lane To: Heikki Linnakangas cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Add API functions to libpq to interrogate SSL related stuff. In-reply-to: References: Comments: In-reply-to Heikki Linnakangas message dated "Tue, 03 Feb 2015 17:58:30 +0000" Date: Tue, 03 Feb 2015 19:23:23 -0500 Message-ID: <12315.1423009403@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Heikki Linnakangas writes: > Add API functions to libpq to interrogate SSL related stuff. This patch is one large brick shy of a load: it creates exported libpq functions but fails to ensure they always exist. That's why jacana is unhappy; though TBH I'm astonished that any non-ssl-enabled builds are passing. Apparently missing library functions are less of a hard error on Linux than they ought to be. I think probably the exported functions need to be defined in fe-exec.c or fe-connect.c, with bodies along the lines of #ifdef USE_OPENSSL call OpenSSL-specific function #else return NULL #endif (or whatever's appropriate when no SSL support). We do want these functions to exist even in non-SSL-enabled builds. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers