Re: ObjectIdGetDatum() missing from SearchSysCache*() callers

Aleksander Alekseev <aleksander@timescale.com>

From: Aleksander Alekseev <aleksander@timescale.com>
To: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Cc: Michael Paquier <michael@paquier.xyz>
Date: 2023-07-17T12:36:45Z
Lists: pgsql-hackers
Hi,

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

Good catch.

> I think that we'd better be consistent here, even if there is
> no actual bug.
>

+1

-- 
Best regards,
Aleksander Alekseev



Commits

  1. Add missing ObjectIdGetDatum() in syscache lookup calls for Oids