Re: PQexec() hangs on OOM

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PQexec() hangs on OOM
Дата
Msg-id 25150.1428328002@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PQexec() hangs on OOM  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: PQexec() hangs on OOM  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-bugs
Michael Paquier <michael.paquier@gmail.com> writes:
> Second idea: return a status with parseInput as it is not part of the APIs
> of libpq.

Yeah; most subroutines in libpq have a zero-or-EOF return convention,
we can make parseInput do likewise.  I'm not sure if that'd need to
propagate further down though ...

            regards, tom lane

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: PQexec() hangs on OOM
Следующее
От: Andres Freund
Дата:
Сообщение: Re: BUG #12910: Memory leak with logical decoding