Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJDMb-0002uk-IP for pgsql-general@arkaria.postgresql.org; Tue, 31 Mar 2020 09:39:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jJDMa-0007Ba-GY for pgsql-general@arkaria.postgresql.org; Tue, 31 Mar 2020 09:39:16 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJDMa-00076c-82 for pgsql-general@lists.postgresql.org; Tue, 31 Mar 2020 09:39:16 +0000 Received: from portal-smtp-out.hot.ee ([194.126.101.125]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJDMW-0007nN-Qw for pgsql-general@postgresql.org; Tue, 31 Mar 2020 09:39:15 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id EDD861A14; Tue, 31 Mar 2020 12:39:08 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at vm-hot-relay10.estpak.ee Received: from portal-smtp-out.hot.ee ([127.0.0.1]) by localhost (vm-hot-relay10.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eCw2sygI0P3l; Tue, 31 Mar 2020 12:39:06 +0300 (EEST) Received: from mail.hot.ee (hot-relayhost1.estpak.ee [213.180.2.79]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 36C351CBE; Tue, 31 Mar 2020 12:39:06 +0300 (EEST) Received: from dell2 (66-63-196-88.sta.estpak.ee [88.196.63.66]) (Authenticated sender: kobruleht2) by HOT-Relayhost1.estpak.ee (Postfix) with ESMTPSA id 48s4606NFZz2Zg; Tue, 31 Mar 2020 12:39:03 +0300 (EEST) Message-ID: <6F9791121239457B8DA2909FEECD7AED@dell2> From: "Andrus" To: "Olivier Gautherot" Cc: "pgsql-general" References: <45AE45823FB844ED80186DE14DCC5B14@dell2> In-Reply-To: Subject: Re: Using compression on TCP transfer Date: Tue, 31 Mar 2020 12:38:54 +0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_010C_01D60759.570B4B10" X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk See on mitmeosaline MIME-vormingus sõnum. ------=_NextPart_000_010C_01D60759.570B4B10 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, >See the section about sslcompression in = https://www.postgresql.org/docs/9.2/libpq-connect.html. It should be = your answer. I added=20 sslcompression=3D1 to psqlodbc connection string but log file shows that connection is = still uncompressed: LOG: connection authorized: user=3Dme database=3Dmydb SSL enabled = (protocol=3DTLSv1.3, cipher=3DTLS_AES_256_GCM_SHA384, bits=3D256, = compression=3Doff) Maybe because according to TLSv1.3 standard, compression is no more = allowed or psqlodbc does not pass it to pglib. How to compress ? Andrus. ------=_NextPart_000_010C_01D60759.570B4B10 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hi,
 
>See the section about sslcompression in https://w= ww.postgresql.org/docs/9.2/libpq-connect.html.=20 It should be your answer.
 
I added
 
sslcompression=3D1
 
to psqlodbc connection string but log file shows that connection is = still=20 uncompressed:
 
LOG:  connection authorized: user=3Dme database=3Dmydb SSL = enabled=20 (protocol=3DTLSv1.3, cipher=3DTLS_AES_256_GCM_SHA384, bits=3D256,=20 compression=3Doff)
 
Maybe because according to TLSv1.3 standard, compression is no more = allowed=20 or psqlodbc does not pass it to pglib.
 
How to compress ?
 
Andrus.
------=_NextPart_000_010C_01D60759.570B4B10--