pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix masking of SP-GiST pages during xlog consistency check
4+ messages / 1 participants
[nested] [flat]

* pgsql: Fix masking of SP-GiST pages during xlog consistency check
@ 2020-06-20 14:37 Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Alexander Korotkov @ 2020-06-20 14:37 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a44dd932ff3816de7fe0414063cfcc5656117c3a

Modified Files
--------------
src/backend/access/spgist/spgxlog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Fix masking of SP-GiST pages during xlog consistency check
@ 2020-06-20 14:37 Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Alexander Korotkov @ 2020-06-20 14:37 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/396a44a0153657bd4f5385b184b66b7ada8682ca

Modified Files
--------------
src/backend/access/spgist/spgxlog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Fix masking of SP-GiST pages during xlog consistency check
@ 2020-06-20 14:37 Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Alexander Korotkov @ 2020-06-20 14:37 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3f88e2d78dbe61b8eec8dfb051b9dc0d1ff0052f

Modified Files
--------------
src/backend/access/spgist/spgxlog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Fix masking of SP-GiST pages during xlog consistency check
@ 2020-06-20 15:15 Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Alexander Korotkov @ 2020-06-20 15:15 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/39aafc88c4b4ac281df8b2c2b8be72d4e4d99e9f

Modified Files
--------------
src/backend/access/spgist/spgxlog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2020-06-20 15:15 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-06-20 14:37 pgsql: Fix masking of SP-GiST pages during xlog consistency check Alexander Korotkov <akorotkov@postgresql.org>
2020-06-20 14:37 pgsql: Fix masking of SP-GiST pages during xlog consistency check Alexander Korotkov <akorotkov@postgresql.org>
2020-06-20 14:37 pgsql: Fix masking of SP-GiST pages during xlog consistency check Alexander Korotkov <akorotkov@postgresql.org>
2020-06-20 15:15 pgsql: Fix masking of SP-GiST pages during xlog consistency check Alexander Korotkov <akorotkov@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox