Fix more portability issues in new amcheck code. verify_heapam() wasn't being careful to sanity-check tuple line pointers before using them, resulting in SIGBUS on alignment-picky architectures. Fix that, add some more test coverage.
Mark Dilger, some tweaking by me Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/321633e17b07968e68ca5341429e2c8bbf15c331 Modified Files -------------- contrib/amcheck/t/001_verify_heapam.pl | 30 ++++++++----- contrib/amcheck/verify_heapam.c | 78 +++++++++++++++++++++++----------- 2 files changed, 73 insertions(+), 35 deletions(-)
