Revert changes for SSL compression in libpq
authorMichael Paquier <michael@paquier.xyz>
Wed, 10 Mar 2021 00:35:42 +0000 (09:35 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 10 Mar 2021 00:35:42 +0000 (09:35 +0900)
commit0ba71107efeeccde9158f47118f95043afdca0bb
tree88e76f41af9d3fe66ecee5b4d4bb552d1210bd67
parent6540cc517dd452874a4e0fb268aee9b92e5136c6
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
contrib/postgres_fdw/expected/postgres_fdw.out
contrib/postgres_fdw/sql/postgres_fdw.sql
doc/src/sgml/libpq.sgml
src/bin/psql/command.c
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-secure-openssl.c
src/interfaces/libpq/libpq-int.h
src/test/ssl/t/001_ssltests.pl