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
Cc: Daniel Gustafsson <daniel@yesql.se>
Subject: Re: pgsql: Remove support for SSL compression
Date: Tue, 9 Mar 2021 20:19:52 +0900
Message-ID: <YEdZ2PKDA8ZuDB8L@paquier.xyz> (raw)
In-Reply-To: <YEbq15JKJwIX+S6m@paquier.xyz>
References: <E1lJRxU-00051U-47@gemulon.postgresql.org>
	<YEbq15JKJwIX+S6m@paquier.xyz>

On Tue, Mar 09, 2021 at 12:26:15PM +0900, Michael Paquier wrote:
> It looks like it is not that much a good idea to define it as a debug
> option after all.  So I guess that the attached would fix the failure,
> where FDW servers can still pass down the parameter at will for
> backward-compatibility, and where libpq keeps ignoring its value.  Any
> thoughts?

So, I have been thinking more about this one, and applied the previous
patch to bring back crake to green.  There are a couple of options
that could be considered to make the option non-visible, but nothing
looks really appealing to me:
- Tweak the regression tests on the back-branches to bypass the
failure, but this won't change the potential impact of anybody using
sslcompression in a FDW server, or even dblink.
- Create specific exceptions in postgres_fdw and perhaps dblink.
- Extend libpq with a special status to mark a parameter as
to-be-removed, but that feels like a mix of a normal option and a
debug option.
- Make pg_upgrade complain if such a server is detected (?), bringing
in the ring the first point of this list.
--
Michael

Attachments:

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

view thread (11+ messages)  latest in thread

Message-ID: <YEdZ2PKDA8ZuDB8L@paquier.xyz>
Permalink:  ../YEdZ2PKDA8ZuDB8L@paquier.xyz/
Also on:    postgresql.org/message-id/YEdZ2PKDA8ZuDB8L@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, daniel@yesql.se
  Subject: Re: pgsql: Remove support for SSL compression
  In-Reply-To: <YEdZ2PKDA8ZuDB8L@paquier.xyz>
  References: <E1lJRxU-00051U-47@gemulon.postgresql.org> <YEbq15JKJwIX+S6m@paquier.xyz> <YEdZ2PKDA8ZuDB8L@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