pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Revert changes for SSL compression in libpq
Date: Wed, 10 Mar 2021 00:37:11 +0000
Message-ID: <E1lJmqd-0004Zv-Q0@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1lJmqd-0004Zv-Q0@gemulon.postgresql.org>
Permalink:  ../E1lJmqd-0004Zv-Q0@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lJmqd-0004Zv-Q0@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Revert changes for SSL compression in libpq
  In-Reply-To: <E1lJmqd-0004Zv-Q0@gemulon.postgresql.org>
  References: <E1lJmqd-0004Zv-Q0@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox