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

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Zhang Mingli <zmlpostgres(at)gmail(dot)com>
Subject: Re: ObjectIdGetDatum() missing from SearchSysCache*() callers
Date: 2023-07-17 14:33:42
Message-ID: CAJ7c6TMU7L3nQQSebUJJ6G2fp4E9o3kVnkRjmaOi3wG6Jxb8KA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

> And inside pg_sequence_parameters:
> pgstuple = SearchSysCache1(SEQRELID, relid);

Found another one in partcache.c:

```
/* Get pg_class.relpartbound */
tuple = SearchSysCache1(RELOID, RelationGetRelid(rel));
```

I can't be 100% sure but it looks like that's all of them. PFA the
updated patch v2.

--
Best regards,
Aleksander Alekseev

Attachment Content-Type Size
v2-0001-Pass-Datum-to-SearchSysCache-instead-of-Oid.patch application/octet-stream 7.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2023-07-17 14:38:41 Re: ObjectIdGetDatum() missing from SearchSysCache*() callers
Previous Message Stéphane Tachoires 2023-07-17 14:26:14 Re: [PATCH] Automatic HASH and LIST partition creation