Re: [HACKERS] SSL compression info in psql header

2014-07-15 Thread Magnus Hagander
On Tue, Jul 15, 2014 at 6:03 PM, Tom Lane wrote: > Magnus Hagander writes: >> Being a completely newbie when it comes to writing configure checks - >> does this seem correct? > > Looks reasonable to me. Thanks, I've applied it - let's hope the buildfarm is happier now. -- Magnus Hagander Me

Re: [HACKERS] SSL compression info in psql header

2014-07-15 Thread Tom Lane
Magnus Hagander writes: > Being a completely newbie when it comes to writing configure checks - > does this seem correct? Looks reasonable to me. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscriptio

Re: [HACKERS] SSL compression info in psql header

2014-07-15 Thread Magnus Hagander
On Tue, Jul 15, 2014 at 4:41 PM, Tom Lane wrote: > Magnus Hagander writes: >> Out of curiosity, since one of those boxes seems to be yours, which >> version of OpenSSL does it actually have? > > Claims to be 0.9.7: > > cube:~ tgl$ ls -l /usr/lib/*ssl* > -rwxr-xr-x 1 root wheel 266940 Nov 7

Re: [HACKERS] SSL compression info in psql header

2014-07-15 Thread Tom Lane
Magnus Hagander writes: > Out of curiosity, since one of those boxes seems to be yours, which > version of OpenSSL does it actually have? Claims to be 0.9.7: cube:~ tgl$ ls -l /usr/lib/*ssl* -rwxr-xr-x 1 root wheel 266940 Nov 7 2010 /usr/lib/libssl.0.9.7.dylib* -rwxr-xr-x 1 root wheel

Re: [HACKERS] SSL compression info in psql header

2014-07-15 Thread Magnus Hagander
On Tue, Jul 15, 2014 at 4:28 PM, Tom Lane wrote: > Magnus Hagander writes: >> As far as my research shows, the function >> SSL_get_current_compression() which it uses was added in OpenSSL >> 0.9.6, which is a long time ago (stopped being maintained in 2004). >> AFAICT even RHEL *3* shipped with 0

Re: [HACKERS] SSL compression info in psql header

2014-07-15 Thread Tom Lane
Magnus Hagander writes: > As far as my research shows, the function > SSL_get_current_compression() which it uses was added in OpenSSL > 0.9.6, which is a long time ago (stopped being maintained in 2004). > AFAICT even RHEL *3* shipped with 0.9.7. So I think we can safely rely > on it, especially

Re: [HACKERS] SSL compression info in psql header

2014-07-15 Thread Magnus Hagander
On Tue, Jul 15, 2014 at 1:08 AM, Robert Haas wrote: > On Sat, Jul 12, 2014 at 8:49 AM, Magnus Hagander wrote: >> It's today really hard to figure out if your SSL connection is >> actually *using* SSL compression. This got extra hard when we the >> default value started getting influenced by envir

Re: [HACKERS] SSL compression info in psql header

2014-07-14 Thread Robert Haas
On Sat, Jul 12, 2014 at 8:49 AM, Magnus Hagander wrote: > It's today really hard to figure out if your SSL connection is > actually *using* SSL compression. This got extra hard when we the > default value started getting influenced by environment variables at > least on many platforms after the cr

[HACKERS] SSL compression info in psql header

2014-07-12 Thread Magnus Hagander
It's today really hard to figure out if your SSL connection is actually *using* SSL compression. This got extra hard when we the default value started getting influenced by environment variables at least on many platforms after the crime attacks. ISTM we should be making this easier for the user.