pgsql: amcheck: In verify_heapam, allows tuples with xmin 0. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: amcheck: In verify_heapam, allows tuples with xmin 0.
Date
Msg-id E1phFtq-000Cdt-QJ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
amcheck: In verify_heapam, allows tuples with xmin 0.

Commit e88754a1965c0f40a723e6e46d670cacda9e19bd caused that case
to be reported as corruption, but Peter Geoghegan pointed out that
it can legitimately happen in the case of a speculative insertion
that aborts, so we'd better not flag it as corruption after all.

Back-patch to v14, like the commit that introduced the issue.

Discussion: http://postgr.es/m/CAH2-WzmEabzcPTxSY-NXKH6Qt3FkAPYHGQSe2PtvGgj17ZQkCw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b7cea58822c67724effc711ae28e4077a01a7cd6

Modified Files
--------------
contrib/amcheck/verify_heapam.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: pgsql: Fix recent pg_walinspect fpi_length bug.
Next
From: Jeff Davis
Date:
Subject: pgsql: Validate ICU locales.