pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Daniel Gustafsson <daniel@yesql.se>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Remove support for SSL compression
Date: Wed, 10 Mar 2021 07:42:23 +0900
Message-ID: <YEf5z8NWoVJwv8lk@paquier.xyz> (raw)
In-Reply-To: <2022633.1615305501@sss.pgh.pa.us>
References: <E1lJRxU-00051U-47@gemulon.postgresql.org>
	<YEbq15JKJwIX+S6m@paquier.xyz>
	<YEdZ2PKDA8ZuDB8L@paquier.xyz>
	<0ABE2652-9850-43D4-A7A3-57C8F6834038@yesql.se>
	<2022633.1615305501@sss.pgh.pa.us>

On Tue, Mar 09, 2021 at 10:58:21AM -0500, Tom Lane wrote:
> I'm fairly distressed by this patch series, and this proposed change in
> particular, because it seems to be going in very much the wrong direction.
> The objective ought to be simplification, but you're doing exactly the
> opposite.

Yeah.  I'd rather simplify things more.

> Also, the changes in postgres_fdw.out remind me way too much of this
> problem my successors at Red Hat are fighting:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1915179
> 
> The context there is that they are now shipping concurrently-installable
> packages for a couple of different PG versions, but they only install
> the latest available version of libpq.so into /usr/lib, figuring that
> the back-rev versions can rely on that one.  Maybe that's a foolish idea
> on their part (but I have a vague idea that Debian does something
> similar?).  Any such setup is going to have pain whenever we change
> the externally-visible behavior of libpq.

Err.  That's indeed a weird choice as I would have though that any
past version of postgres_fdw.so or dblink.so would link to their
respective libpq, but that makes LD_LIBRARY_PATH a no-brainer.

> I'm inclined to think that we should leave this parameter completely
> alone, and at most choose to ignore its value internally to libpq.
> But really, why is there urgency to do anything at all with it?
> It's not our business whether OpenSSL chooses to ignore it.
> 
> In short, I think I'm a vote for reverting to the v13 behavior.

The libpq part is a good point, as it could be annoying for people to
get a changing behavior once the libpq version changes for anything
using the older major version binaries once the newer libpq is out.  I
am still in favor of keeping the simplifications in the backend though
as it simplifies some catalogs and PgBackendSSLStatus, and we know
that SSL compression does not really matter these days.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (11+ messages)  latest in thread

Message-ID: <YEf5z8NWoVJwv8lk@paquier.xyz>
Permalink:  ../YEf5z8NWoVJwv8lk@paquier.xyz/
Also on:    postgresql.org/message-id/YEf5z8NWoVJwv8lk@paquier.xyz

 · 

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, tgl@sss.pgh.pa.us, daniel@yesql.se
  Subject: Re: pgsql: Remove support for SSL compression
  In-Reply-To: <YEf5z8NWoVJwv8lk@paquier.xyz>
  References: <E1lJRxU-00051U-47@gemulon.postgresql.org> <YEbq15JKJwIX+S6m@paquier.xyz> <YEdZ2PKDA8ZuDB8L@paquier.xyz> <0ABE2652-9850-43D4-A7A3-57C8F6834038@yesql.se> <2022633.1615305501@sss.pgh.pa.us> <YEf5z8NWoVJwv8lk@paquier.xyz>

* 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