Re: libpq compression

From: Daniil Zakhlystov <usernamedt(at)yandex-team(dot)ru>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Justin Pryzby <pryzby(at)telsasoft(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Konstantin Knizhnik <knizhnik(at)garret(dot)ru>, ianzag(at)gmail(dot)com
Subject: Re: libpq compression
Date: 2021-10-08 05:46:16
Message-ID: 3448F89D-710F-4D76-8320-64C3B9ED2F2A@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

<html><head></head><body dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div class="ApplePlainTextBody">Hi, thanks for your fix! I am currently working on implementing the lz4 support for libpq compression. Looking forward to post an update soon.<br><br>—<br>Daniil Zakhlystov<br><br><blockquote type="cite">On 2 Oct 2021, at 02:20, Daniel Gustafsson &lt;daniel(at)yesql(dot)se&gt; wrote:<br><br><blockquote type="cite">On 2 Sep 2021, at 00:29, Daniel Gustafsson &lt;daniel(at)yesql(dot)se&gt; wrote:<br><br><blockquote type="cite">On 29 Jul 2021, at 16:57, Daniil Zakhlystov &lt;usernamedt(at)yandex-team(dot)ru&gt; wrote:<br><br>Forgot to attach the updated patch :) <br></blockquote><br>This fails to build on Windows due to the use of strcasecmp:<br><br>+<span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>if (strcasecmp(supported_algorithms[zpq-&gt;compressors[i].impl], "zstd") == <br><br>Was that meant to be pg_strcasecmp?<br></blockquote><br>To keep this thread from stalling, attached is a rebased patchset with the<br>above mentioned fix to try and get this working on Windows.<br><br>--<br>Daniel Gustafsson<span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>https://vmware.com/<br><br>&lt;0001-Add-zlib-and-zstd-streaming-compression.patch&gt;&lt;0002-Implement-libpq-compression.patch&gt;<br></blockquote><br></div></body></html>

Attachment Content-Type Size
unknown_filename text/html 1.5 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Antonin Houska 2021-10-08 06:35:31 Re: storing an explicit nonce
Previous Message Peter Geoghegan 2021-10-08 05:34:31 GIN pending list cleanup during autoanalyze blocks cleanup by VACUUM