aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.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:59 +0300
commit3f88e2d78dbe61b8eec8dfb051b9dc0d1ff0052f (patch)
treee6922325cd7196b64e59c041c26ca14dc46d59a3 /src/backend/access/transam/xlog.c
parent2e155d90d1b867f7b5bf9616236386eb1e0f40ff (diff)
downloadpostgresql-3f88e2d78dbe61b8eec8dfb051b9dc0d1ff0052f.tar.gz
postgresql-3f88e2d78dbe61b8eec8dfb051b9dc0d1ff0052f.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/xlog.c')
0 files changed, 0 insertions, 0 deletions