From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: amcheck: Add additional TOAST pointer checks. |
Date: | 2021-11-05 13:33:40 |
Message-ID: | E1mizLg-0007eD-QA@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
amcheck: Add additional TOAST pointer checks.
Expand the checks of toasted attributes to complain if the rawsize is
overlarge. For compressed attributes, also complain if compression
appears to have expanded the attribute or if the compression method is
invalid.
Mark Dilger, reviewed by Justin Pryzby, Alexander Alekseev, Heikki
Linnakangas, Greg Stark, and me.
Discussion: http://postgr.es/m/8E42250D-586A-4A27-B317-8B062C3816A8@enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/bd807be6935929bdefe74d1258ca08048f0aafa3
Modified Files
--------------
contrib/amcheck/verify_heapam.c | 46 +++++++++++++++++++++++++++++++
src/bin/pg_amcheck/t/004_verify_heapam.pl | 24 ++++++++++++++--
2 files changed, 67 insertions(+), 3 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2021-11-05 14:19:25 | pgsql: Introduce 'bbsink' abstraction to modularize base backup code. |
Previous Message | Peter Eisentraut | 2021-11-05 13:09:55 | pgsql: pgcrypto: Remove non-OpenSSL support |