ObjectIdGetDatum() missing from SearchSysCache*() callers

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
ObjectIdGetDatum() missing from SearchSysCache*() callers
Дата
Msg-id
ZLUhqsqQN1MOaxdw@paquier.xyz
Список
Дерево обсуждения
ObjectIdGetDatum() missing from SearchSysCache*() callers Michael Paquier <michael@paquier.xyz>
Re: ObjectIdGetDatum() missing from SearchSysCache*() callers Zhang Mingli <zmlpostgres@gmail.com>
Re: ObjectIdGetDatum() missing from SearchSysCache*() callers Zhang Mingli <zmlpostgres@gmail.com>
Re: ObjectIdGetDatum() missing from SearchSysCache*() callers Aleksander Alekseev <aleksander@timescale.com>
Re: ObjectIdGetDatum() missing from SearchSysCache*() callers Aleksander Alekseev <aleksander@timescale.com>
Re: ObjectIdGetDatum() missing from SearchSysCache*() callers Michael Paquier <michael@paquier.xyz>
Re: ObjectIdGetDatum() missing from SearchSysCache*() callers Michael Paquier <michael@paquier.xyz>
Re: ObjectIdGetDatum() missing from SearchSysCache*() callers Aleksander Alekseev <aleksander@timescale.com>
Hi all,

While scanning the code, I have noticed that a couple of code paths
that do syscache lookups are passing down directly Oids rather than
Datums.  I think that we'd better be consistent here, even if there is
no actual bug.

I have noticed 11 callers of SearchSysCache*() that pass down
an Oid instead of a Datum.

Thoughts or comments?
--
Michael
В списке pgsql-hackers по дате отправления
От: Amit Kapila
Дата:
От: Aleksander Alekseev
Дата:
FAQ