Re: Error in recent pg_dump change (coverity)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Error in recent pg_dump change (coverity)
Дата
Msg-id 18285.1148836026@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Error in recent pg_dump change (coverity)  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Error in recent pg_dump change (coverity)  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane wrote:
>> Hm.  But I think we'd *like* it to segfault; the idea is to make the
>> user's programming error as obvious as possible.  Is it worth the
>> trouble to just zero out the pointer members of the PGresult?

> There are only five of them; four need to be zeroed out.

Works for me.  Please commit, as I'm about to do some further work in
those files and would rather not have to merge ...
        regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Error in recent pg_dump change (coverity)
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Error in recent pg_dump change (coverity)