aboutsummaryrefslogtreecommitdiff
path: root/src/common/file_utils.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:34:51 +0300
commita44dd932ff3816de7fe0414063cfcc5656117c3a (patch)
tree684f69f020c96f2af5a483606d0522aba2dad9c4 /src/common/file_utils.c
parent15cb2bd27009f73a84a35c2ba60fdd105b4bf263 (diff)
downloadpostgresql-a44dd932ff3816de7fe0414063cfcc5656117c3a.tar.gz
postgresql-a44dd932ff3816de7fe0414063cfcc5656117c3a.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/common/file_utils.c')
0 files changed, 0 insertions, 0 deletions