On 02.04.2020 19:16, Tom Lane wrote:
> Nikita Glukhov <n.gluhov@postgrespro.ru> writes:
>> Rebased patch attached.
> Thanks for rebasing! The cfbot's not very happy though:
>
> 4842ltxtquery_io.c: In function ‘makepol’:
> 4843ltxtquery_io.c:188:13: error: ‘escaped’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
> 4844 if (lenval - escaped <= 0)
> 4845 ^
> 4846ltxtquery_io.c:230:6: note: ‘escaped’ was declared here
> 4847 int escaped;
> 4848 ^
> 4849cc1: all warnings being treated as errors
>
> regards, tom lane
Fixed patch attached.
--
Nikita Glukhov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company