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 <[email protected]> Reviewed-by: Masahiko Sawada <[email protected]> Bug: #18912 Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/4a4ee0c2c1e53401924101945ac3d517c0a8a559 Modified Files -------------- src/backend/storage/buffer/bufmgr.c | 2 -- 1 file changed, 2 deletions(-)
