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 1jJFCS-0002fe-M6 for pgsql-general@arkaria.postgresql.org; Tue, 31 Mar 2020 11:36:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jJFCO-0002vw-Sc for pgsql-general@arkaria.postgresql.org; Tue, 31 Mar 2020 11:36:52 +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 1jJFCN-0002vp-SE for pgsql-general@lists.postgresql.org; Tue, 31 Mar 2020 11:36:51 +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 1jJFC9-0000Iw-Fv for pgsql-general@postgresql.org; Tue, 31 Mar 2020 11:36:50 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 90BE11CEE; Tue, 31 Mar 2020 14:36:34 +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 R6x57d9JniOp; Tue, 31 Mar 2020 14:36:31 +0300 (EEST) Received: from mail.hot.ee (hot-relayhost3.estpak.ee [213.180.2.81]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id B5A1E1CA7; Tue, 31 Mar 2020 14:36:31 +0300 (EEST) Received: from dell2 (66-63-196-88.sta.estpak.ee [88.196.63.66]) (Authenticated sender: kobruleht2) by HOT-Relayhost3.estpak.ee (Postfix) with ESMTPSA id 48s6jV3GBTz2Kh; Tue, 31 Mar 2020 14:36:29 +0300 (EEST) Message-ID: <66FDD9A196734B15AAC01848F5F70D8D@dell2> From: "Andrus" To: "Olivier Gautherot" Cc: "pgsql-general" References: <45AE45823FB844ED80186DE14DCC5B14@dell2> <6F9791121239457B8DA2909FEECD7AED@dell2> In-Reply-To: Subject: Re: Using compression on TCP transfer Date: Tue, 31 Mar 2020 14:35:02 +0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0218_01D60769.8FDCC8A0" 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_0218_01D60769.8FDCC8A0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi! >Updated doc reference: >https://www.postgresql.org/docs/12/libpq-connect.html=20 >They mention that compression is insecure and disabled by default. = Taking this into account, compression will require that both ODBC and = PostgreSQL are set >up with compression enabled. I could not figure out = quickly whether this requires also recompiling the code... I added=20 Pqopt=3D{sslcompression=3D1}; to psqlodbc connection string but log file shows that it still not = compressed. I=E2=80=99m using Debian 10 and Postgres 12 installed from postgres = repository. How to check is will it support compression or not. Andrus. ------=_NextPart_000_0218_01D60769.8FDCC8A0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hi!
 
>Updated=20 doc reference:
>https://ww= w.postgresql.org/docs/12/libpq-connect.html 
>They mention that compression is insecure and disabled by = default.=20 Taking this into account, compression will require that both ODBC and = PostgreSQL=20 are set >up with compression enabled. I could not figure out quickly = whether=20 this requires also recompiling the code...
 
I added
 
Pqopt=3D{sslcompression=3D1};
 
to psqlodbc connection string but log file shows that it still not=20 compressed.
 
I=E2=80=99m using Debian 10 and Postgres 12 installed from postgres = repository.
How to check is will it support compression or not.
 
Andrus.
------=_NextPart_000_0218_01D60769.8FDCC8A0--