Re: code cleanup for SearchSysCache

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: code cleanup for SearchSysCache
Дата
Msg-id 27600.1149778861@sss.pgh.pa.us
обсуждение исходный текст
Ответ на code cleanup for SearchSysCache  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
Список pgsql-hackers
"Qingqing Zhou" <zhouqq@cs.toronto.edu> writes:
> There are roughly 420 calls of SearchSysCache() and 217 of which are just
> report "cache lookup failed". Shall we put the elog in the SearchSysCache
> itself?

You'd need two essentially equivalent versions of SearchSysCache, and
you'd lose the ability to make the error message identify what was being
searched for, so I vote no.
        regards, tom lane


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: How to avoid transaction ID wrap
Следующее
От: Greg Stark
Дата:
Сообщение: Re: ADD/DROP INHERITS