pgsql: Remove GLOBALTABLESPACE_OID assert for locked buffers. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Remove GLOBALTABLESPACE_OID assert for locked buffers.
Date
Msg-id E1uDlLu-0015l5-0r@gemulon.postgresql.org
Whole thread Raw
List 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@amazon.com>
Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.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(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: doc PG 18 relnotes: mv. hash joins and GROUP BY item to General
Next
From: Álvaro Herrera
Date:
Subject: pgsql: Sort includes in alphabetical order