From: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
---|---|
To: | Michael Paquier <michael(at)paquier(dot)xyz> |
Cc: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | Re: pgsql: Remove support for SSL compression |
Date: | 2021-03-09 15:11:17 |
Message-ID: | 0ABE2652-9850-43D4-A7A3-57C8F6834038@yesql.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
> On 9 Mar 2021, at 12:19, Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
> 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.
Having tried a number of different ways to fix this I think the least intrusive
fix is to teach pg_upgrade and dblink about sslcompression, like how've already
taught it about other options. Building any infrastructure to handle
deprecated options and extending the dispchar with a classification for
deprecation for just this one option seems overkill. Deprecating options is
also not something frequently done, so the cost/benefit for something
complicated seems off.
The attached is a version of the simple fix.
--
Daniel Gustafsson https://vmware.com/
Attachment | Content-Type | Size |
---|---|---|
v1-0001-Fix-sslcompression-in-postgres_fdw-and-dblink.patch | application/octet-stream | 5.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Korotkov | 2021-03-09 15:21:19 | pgsql: Fix vague comment in jsonb documentation |
Previous Message | Peter Eisentraut | 2021-03-09 14:04:27 | pgsql: libpq: Remove deprecated connection parameters authtype and tty |