[PATCH] Check more invariants during syscache initialization
Aleksander Alekseev <aleksander@timescale.com>
From: Aleksander Alekseev <aleksander@timescale.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-07-24T18:58:15Z
Lists: pgsql-hackers
Attachments
- v1-0001-Check-more-invariants-during-syscache-initializat.patch (application/octet-stream) patch v1-0001
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
Commits
-
Add sanity asserts for index OID and attnums during cache init
- f6a84546b1a0 17.0 landed