pgsql: Revert changes for SSL compression in libpq

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Revert changes for SSL compression in libpq
Date: 2021-03-10 00:37:11
Message-ID: E1lJmqd-0004Zv-Q0@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Revert changes for SSL compression in libpq

This partially reverts 096bbf7 and 9d2d457, undoing the libpq changes as
it could cause breakages in distributions that share one single libpq
version across multiple major versions of Postgres for extensions and
applications linking to that.

Note that the backend is unchanged here, and it still disables SSL
compression while simplifying the underlying catalogs that tracked if
compression was enabled or not for a SSL connection.

Per discussion with Tom Lane and Daniel Gustafsson.

Discussion: https://postgr.es/m/YEbq15JKJwIX+S6m@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0ba71107efeeccde9158f47118f95043afdca0bb

Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out | 2 +-
contrib/postgres_fdw/sql/postgres_fdw.sql | 2 +-
doc/src/sgml/libpq.sgml | 35 ++++++++++++++++++++++++--
src/bin/psql/command.c | 7 ++++--
src/interfaces/libpq/fe-connect.c | 11 ++++----
src/interfaces/libpq/fe-secure-openssl.c | 15 +++++------
src/interfaces/libpq/libpq-int.h | 1 +
src/test/ssl/t/001_ssltests.pl | 9 +------
8 files changed, 55 insertions(+), 27 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2021-03-10 01:05:09 Re: pgsql: Remove support for SSL compression
Previous Message Tom Lane 2021-03-09 22:45:56 Re: pgsql: Remove support for SSL compression