mirror of
https://github.com/postgres/postgres.git
synced 2026-03-02 05:13:42 -05:00
The macro is being applied to a TOAST pointer, not a varlena header. Therefore the use of VARATT_IS_COMPRESSED() is wrong. We can check VARATT_EXTERNAL_IS_COMPRESSED(), but then we don't need the length check that follows. Report and fix by Kyotaro Horiguchi. Discussion: http://postgr.es/m/20220517.162719.1671558681467343711.horikyota.ntt@gmail.com |
||
|---|---|---|
| .. | ||
| expected | ||
| sql | ||
| t | ||
| .gitignore | ||
| amcheck--1.0--1.1.sql | ||
| amcheck--1.0.sql | ||
| amcheck--1.1--1.2.sql | ||
| amcheck--1.2--1.3.sql | ||
| amcheck.control | ||
| Makefile | ||
| verify_heapam.c | ||
| verify_nbtree.c | ||