pgsql: amcheck: Add additional TOAST pointer checks.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: amcheck: Add additional TOAST pointer checks.
Дата
Msg-id E1mizLg-0007eD-QA@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: pgcrypto: Remove non-OpenSSL support
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Introduce 'bbsink' abstraction to modularize base backup code.