pgsql: Detect presence of SSL_get_current_compression

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Detect presence of SSL_get_current_compression
Date: 2014-07-15 16:07:55
Message-ID: E1X75Gl-0006Jb-Up@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Detect presence of SSL_get_current_compression

Apparently we still build against OpenSSL so old that it doesn't
have this function, so add an autoconf check for it to make the
buildfarm happy. If the function doesn't exist, always return
that compression is disabled, since presumably the actual
compression functionality is always missing.

For now, hardcode the function as present on MSVC, since we should
hopefully be well beyond those old versions on that platform.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c9e1ad7faf75aeda633e27ba6c042dabe4aa353d

Modified Files
--------------
configure | 11 +++++++++++
configure.in | 1 +
src/include/pg_config.h.in | 3 +++
src/include/pg_config.h.win32 | 3 +++
src/include/port.h | 4 ++++
5 files changed, 22 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2014-07-15 17:20:11 Re: pgsql: Move view reloptions into their own varlena struct
Previous Message Tom Lane 2014-07-15 14:56:50 Re: pgsql: psql: Show tablespace size in \db+