Re: hash_create(): check return code

Поиск
Список
Период
Сортировка
Искать
От
Neil Conway
Тема
Re: hash_create(): check return code
Дата
Msg-id
1098428127.6602.317.camel@localhost.localdomain
Ответ на
Список
Дерево обсуждения
hash_create(): check return code Neil Conway <neilc@samurai.com>
Re: hash_create(): check return code Tom Lane <tgl@sss.pgh.pa.us>
Re: hash_create(): check return code Neil Conway <neilc@samurai.com>
Re: hash_create(): check return code Tom Lane <tgl@sss.pgh.pa.us>
Re: hash_create(): check return code Neil Conway <neilc@samurai.com>
Re: hash_create(): check return code Tom Lane <tgl@sss.pgh.pa.us>
Re: hash_create(): check return code Neil Conway <neilc@samurai.com>
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
Дата:
От: Tom Lane
Дата:
FAQ