Hi, thanks for your fix! I am currently working on implementing the lz4 support for libpq compression. Looking forward to post an update soon.

Daniil Zakhlystov

On 2 Oct 2021, at 02:20, Daniel Gustafsson <daniel@yesql.se> wrote:

On 2 Sep 2021, at 00:29, Daniel Gustafsson <daniel@yesql.se> wrote:

On 29 Jul 2021, at 16:57, Daniil Zakhlystov <usernamedt@yandex-team.ru> wrote:

Forgot to attach the updated patch :)

This fails to build on Windows due to the use of strcasecmp:

+ if (strcasecmp(supported_algorithms[zpq->compressors[i].impl], "zstd") ==

Was that meant to be pg_strcasecmp?

To keep this thread from stalling, attached is a rebased patchset with the
above mentioned fix to try and get this working on Windows.

Daniel Gustafsson https://vmware.com/