code cleanup for SearchSysCache

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема code cleanup for SearchSysCache
Дата
Msg-id e68bjv$i87$1@news.hub.org
обсуждение исходный текст
Ответы Re: code cleanup for SearchSysCache  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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?

Notice that most search is on the "Oid" field -- which is *not* user
visible, so I think most of them can safely let SearchSysCache handle the
failed search without reporting any misleading information. Also, to support
situations where indeed need to check the return tuple, we can add a boolean
parameter "isComplain" to the argument list.

Regards,
Qingqing




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ADD/DROP INHERITS
Следующее
От: Koichi Suzuki
Дата:
Сообщение: Re: How to avoid transaction ID wrap