Re: ecpg: check for strdup() failure

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: ecpg: check for strdup() failure
Дата
Msg-id 42C4D127.8050807@samurai.com
обсуждение исходный текст
Ответ на ecpg: check for strdup() failure  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
Neil Conway wrote:
> Attached is a trivial improvement to ecpg's pgtypeslib: (1) `pstr' must
> be non-NULL in this function, so no need to check for it (2) we should
> check the return value of pgtypes_strdup(). Patch from Eric Astor at
> EDB, with slight cleanup by myself, to fix a Coverity report.

Applied.

-Neil

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: ecpg: numeric_div error handling
Следующее
От: Satoshi Nagayasu
Дата:
Сообщение: enable/disable trigger (Re: Fwd: [HACKERS] Open items)