Re: [HACKERS] compile warning in CVS HEAD

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] compile warning in CVS HEAD
Дата
Msg-id 14895.1079656547@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] compile warning in CVS HEAD  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: [HACKERS] compile warning in CVS HEAD  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-patches
Andrew Dunstan <andrew@dunslane.net> writes:
> Patch attached. Also adds a malloc() check that Neil wanted.

Er, what on God's green earth is elog.c doing malloc'ing stuff at all?
This should be a palloc in the ErrorContext; that's what it's for.
As is, this code is guaranteed to fail under out-of-memory conditions.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: syntax error position "CREATE FUNCTION" bug fix
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [HACKERS] compile warning in CVS HEAD