Re: PQexec() hangs on OOM

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: PQexec() hangs on OOM
Дата
Msg-id CAB7nPqRgVD+zzG6i7kWqSgkbb5osc7E8eAb3PW3LvCp14G0OSA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PQexec() hangs on OOM  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-bugs
On Thu, Jul 9, 2015 at 10:04 PM, Michael Paquier
<michael.paquier@gmail.com>wrote:

> So, here are two patches aimed at fixing the hangling issues with
> getStartCopy and getParamDescriptions. After trying a couple of
> approaches, I found out that the most elegant way to prevent the
> infinite loop in parseInput is to introduce a new PGASYNC flag to
> control the error and let the caller know what happened.
>
> More refactoring could be done, and I think that the use of this new
> ASYNC flag could be spread to other places as well if you think that's
> a useful. For now I have focused only on fixing the existing problems
> with fixes that are rather back-patchable.
>

As those are actually new bug fixes, I am adding an entry in CF 2015-09.
--
Michael

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

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: BUG #13496: INSERT WHERE NOT EXISTS error
Следующее
От: "Lamontagne, Karlens"
Дата:
Сообщение: Hello i have a request on Postgres PgAdmin 3 client