Re: PQexec() hangs on OOM

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: PQexec() hangs on OOM
Дата
Msg-id CAB7nPqT1TVnaKgfoXE7fgKhvL6-ibDWTj1BQT3TjEgp60_cH0A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PQexec() hangs on OOM  (Oleksandr Shulgin <oleksandr.shulgin@zalando.de>)
Ответы Re: PQexec() hangs on OOM  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-bugs
On Thu, May 21, 2015 at 1:31 AM, Oleksandr Shulgin wrote:
> Michael Paquier <michael.paquier@gmail.com> writes:
>> So, attached is take three for all the other things above.
>
> There's still one call to pqGetErrorNotice3 that doesn't check returned
> value for -2, in fe-connect.c.  Shouldn't we also check it like this:
>
> [...]

Yes, you are right. Take 4 attached is updated with something similar
to what you sent to cover this code path.
--
Michael

Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Incorrect processing of CREATE TRANSFORM with DDL deparding
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Incorrect processing of CREATE TRANSFORM with DDL deparding