aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogutils.c
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2020-06-20 17:34:51 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2020-06-20 17:35:55 +0300
commit396a44a0153657bd4f5385b184b66b7ada8682ca (patch)
tree7e755a893016661a8059e964c8c9b8b4373c746d /src/backend/access/transam/xlogutils.c
parent5b52008a64414cd161db11f4c0d52fc0d2ee304a (diff)
downloadpostgresql-396a44a0153657bd4f5385b184b66b7ada8682ca.tar.gz
postgresql-396a44a0153657bd4f5385b184b66b7ada8682ca.zip
Fix masking of SP-GiST pages during xlog consistency check
spg_mask() didn't take into account that pd_lower equal to SizeOfPageHeaderData is still valid value. This commit fixes that. Backpatch to 11, where spg_mask() pg_lower check was introduced. Reported-by: Michael Paquier Discussion: https://postgr.es/m/20200615131405.GM52676%40paquier.xyz Backpatch-through: 11
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
0 files changed, 0 insertions, 0 deletions