pgsql: Remove GLOBALTABLESPACE_OID assert for locked buffers.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove GLOBALTABLESPACE_OID assert for locked buffers.
Date: 2025-05-10 14:38:58
Message-ID: E1uDlLu-0015l5-0r@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove GLOBALTABLESPACE_OID assert for locked buffers.

Commit f4ece891fc2f3f96f0571720a1ae30db8030681b added the assertion in
an attempt to catch some defects even after VACUUM FULL or REINDEX.
However, IsCatalogTextUniqueIndexOid(tag.relNumber) always returns false
after a relfilenode change, provoking unintended assertion failures.

Reported-by: Adam Guo <adamguo(at)amazon(dot)com>
Reviewed-by: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Bug: #18912
Discussion: https://postgr.es/m/18912-a41c9bd0e0ad19b1@postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4a4ee0c2c1e53401924101945ac3d517c0a8a559

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c | 2 --
1 file changed, 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2025-05-11 00:22:51 pgsql: Fix incorrect "return NULL" in BumpAllocLarge().
Previous Message Bruce Momjian 2025-05-10 03:40:05 pgsql: doc PG 18 relnotes: mv. hash joins and GROUP BY item to General