Re: hash_create(): check return code

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: hash_create(): check return code
Дата
Msg-id 1098428127.6602.317.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: hash_create(): check return code  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: hash_create(): check return code  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Fri, 2004-10-22 at 16:13, Tom Lane wrote:
> There are no places where hash_create is called before elog() is
> functional.

Well, it's invoked from the statistics collector, which avoids doing
elog(ERROR) for some reason. But my guess is that it should be workable
to get elog(ERROR) / elog(FATAL) working in the statistics collector,
and it will mean a cleanup of existing code as well (which laboriously
invokes elog(LOG) followed by exit(1)). I'm working on that now...

-Neil



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: hash_create(): check return code
Следующее
От: Tom Lane
Дата:
Сообщение: Re: hash_create(): check return code