pgsql: amcheck: Add additional TOAST pointer checks. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: amcheck: Add additional TOAST pointer checks.
Date
Msg-id E1mizLg-0007eD-QA@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: pgcrypto: Remove non-OpenSSL support
Next
From: Robert Haas
Date:
Subject: pgsql: Introduce 'bbsink' abstraction to modularize base backup code.