From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Teach verify_heapam() to validate update chains within a page. |
Date: | 2023-03-22 13:17:12 |
Message-ID: | E1peyL2-004pIC-0f@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Teach verify_heapam() to validate update chains within a page.
Prior to this commit, we only consider each tuple or line pointer
on the page in isolation, but now we can do some validation of a line
pointer against its successor. For example, a redirect line pointer
shouldn't point to another redirect line pointer, and if a tuple
is HOT-updated, the result should be a heap-only tuple.
Himanshu Upadhyaya and Robert Haas, reviewed by Aleksander Alekseev,
Andres Freund, and Peter Geoghegan.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/bbc1376b39627c6bddd8a0dc0a7dda24c91a97a0
Modified Files
--------------
contrib/amcheck/verify_heapam.c | 291 +++++++++++++++++++++++++++++-
src/bin/pg_amcheck/t/004_verify_heapam.pl | 250 +++++++++++++++++++++++--
2 files changed, 524 insertions(+), 17 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2023-03-22 17:03:53 | pgsql: Fix memory leak and inefficiency in CREATE DATABASE ... STRATEGY |
Previous Message | Michael Paquier | 2023-03-22 09:33:47 | pgsql: doc: Add description of some missing monitoring functions |