[PATCH] Check more invariants during syscache initialization

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: [PATCH] Check more invariants during syscache initialization
Date: 2023-07-24 18:58:15
Message-ID: CAJ7c6TOjUTJ0jxvWY6oJeP2-840OF8ch7qscZQsuVuotXTOS_g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Currently InitCatalogCache() has only one Assert() for cacheinfo[]
that checks .reloid. The proposed patch adds sanity checks for the
rest of the fields.

--
Best regards,
Aleksander Alekseev

Attachment Content-Type Size
v1-0001-Check-more-invariants-during-syscache-initializat.patch application/octet-stream 1.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2023-07-24 18:59:32 Re: Use of additional index columns in rows filtering
Previous Message Tom Lane 2023-07-24 18:42:21 Re: Use of additional index columns in rows filtering