Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TPNaI-0002A3-Gc for pgsql-performance@postgresql.org; Sat, 20 Oct 2012 01:10:38 +0000 Received: from wsip-70-169-168-7.pn.at.cox.net ([70.169.168.7] helo=FS.denninger.net) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TPNaC-0007mi-Bt for pgsql-performance@postgresql.org; Sat, 20 Oct 2012 01:10:37 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by FS.denninger.net (8.14.4/8.13.1) with ESMTP id q9K1AUY9015596 for ; Fri, 19 Oct 2012 20:10:30 -0500 (CDT) (envelope-from karl@denninger.net) Received: from [127.0.0.1] [192.168.1.40] by Spamblock-sys (LOCAL); Fri Oct 19 20:10:30 2012 Message-ID: <5081FA00.2010409@denninger.net> Date: Fri, 19 Oct 2012 20:10:24 -0500 From: Karl Denninger User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: "pgsql-performance@postgresql.org" Subject: Connection Options -- SSL already uses compression? X-Enigmail-Version: 1.4.5 Content-Type: multipart/alternative; boundary="------------020101000900030102030601" X-Antivirus: avast! (VPS 121019-1, 10/19/2012), Outbound message X-Antivirus-Status: Clean X-Pg-Spam-Score: -0.9 (/) X-Archive-Number: 201210/278 X-Sequence-Number: 48237 This is a multi-part message in MIME format. --------------020101000900030102030601 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by FS.denninger.net id q9K1AUY9015596 Am I reading this correctly -- it appears that if SSL negotiation is enabled for a connection (say, when using pg_basebackup over a WAN) that compression /*is automatically used*/ (provided it is supported on both ends)? Is there a way to check and see if it _*is*_ on for a given connection? I was looking to hack in zlib support and saw that appears to be already-present support, provided SSL connection security is enabled. --=20 -- Karl Denninger /The Market Ticker =AE/ Cuda Systems LLC --------------020101000900030102030601 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Am I reading this correctly -- it appears that if SSL negotiation is enabled for a connection (say, when using pg_basebackup over a WAN) that compression is automatically used (provided it is supported on both ends)?

Is there a way to check and see if it is on for a given connection?

I was looking to hack in zlib support and saw that appears to be already-present support, provided SSL connection security is enabled.

--
-- Karl Denninger
The Market Ticker ®
Cuda Systems LLC
--------------020101000900030102030601--