> On Wed, Feb 13, 2019 at 3:46 PM Konstantin Knizhnik > <k.knizh...@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.