pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Add API functions to libpq to interrogate SSL related stuff.
Date: Tue, 03 Feb 2015 19:23:23 -0500
Message-ID: <12315.1423009403@sss.pgh.pa.us> (raw)
In-Reply-To: <E1YIhk6-00032E-Jx@gemulon.postgresql.org>
References: <E1YIhk6-00032E-Jx@gemulon.postgresql.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Heikki Linnakangas <heikki.linnakangas@iki.fi> 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



view thread (3+ messages)  latest in thread

Message-ID: <12315.1423009403@sss.pgh.pa.us>
Permalink:  ../12315.1423009403@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12315.1423009403@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, heikki.linnakangas@iki.fi
  Subject: Re: pgsql: Add API functions to libpq to interrogate SSL related stuff.
  In-Reply-To: <12315.1423009403@sss.pgh.pa.us>
  References: <E1YIhk6-00032E-Jx@gemulon.postgresql.org> <12315.1423009403@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox