Re: libpq compression - Mailing list pgsql-hackers

From Dmitry Dolgov
Subject Re: libpq compression
Date
Msg-id CA+q6zcW-EdonARyWjEJ9FhikOAn3i-uFAjv2mMM1zwO824XqOg@mail.gmail.com
Whole thread Raw
In response to Re: libpq compression  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Responses Re: libpq compression  (Dmitry Dolgov <9erthalion6@gmail.com>)
List pgsql-hackers
> On Wed, Feb 13, 2019 at 3:46 PM Konstantin Knizhnik
> <k.knizhnik@postgrespro.ru> wrote:
>
> Moreover, please notice that your implementation is still passing functions
> tx/rx functions to stream constructor and so zpq_read is still able to read
> data itself. So I do not understand which problem you have solved by
> replacing zpq_read with pair of zpq_read_drain+zpq_read.

Nope, I've removed the call of these functions from zlib_read/write, just
forgot to remove the initialization part.


pgsql-hackers by date:

Previous
From: Konstantin Knizhnik
Date:
Subject: Re: libpq compression
Next
From: Dmitry Dolgov
Date:
Subject: Re: libpq compression