Re: libpq compression (part 3)

Andrey Borodin <x4mmm@yandex-team.ru>

From: "Andrey M. Borodin" <x4mmm@yandex-team.ru>
To: Jelte Fennema-Nio <postgres@jeltef.nl>
Cc: Jacob Burroughs <jburroughs@instructure.com>, Robert Haas <robertmhaas@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-12-29T10:02:48Z
Lists: pgsql-hackers

> On 21 Dec 2023, at 05:30, Jelte Fennema-Nio <postgres@jeltef.nl> wrote:
> 
> One thing I'm wondering: should it be possible for the client to change the compression it wants mid-connection?

This patchset allows sending CompressionMethod message, which allows to set another codec\level picked from the set of negotiated codec sets (during startup).


Best regards, Andrey Borodin.