postgresql/contrib/pageinspect
Michael Paquier 4477dcb207 pageinspect: Fix memory context allocation of page in brin_revmap_data()
This caused the function to fail, as the aligned copy of the raw page
given by the function caller was not saved in the correct memory
context, which needs to be multi_call_memory_ctx in this case.

Issue introduced by 076f4d9.

Per buildfarm members sifika, mylodon and longfin.  I have reproduced
that locally with macos.

Discussion: https://postgr.es/m/YjFPOtfCW6yLXUeM@paquier.xyz
Backpatch-through: 10
2022-03-16 12:29:39 +09:00
..
expected pageinspect: Fix handling of page sizes and AM types 2022-03-16 11:19:39 +09:00
sql pageinspect: Fix handling of page sizes and AM types 2022-03-16 11:19:39 +09:00
.gitignore
brinfuncs.c pageinspect: Fix memory context allocation of page in brin_revmap_data() 2022-03-16 12:29:39 +09:00
btreefuncs.c pageinspect: Fix handling of page sizes and AM types 2022-03-16 11:19:39 +09:00
fsmfuncs.c pageinspect: Fix handling of page sizes and AM types 2022-03-16 11:19:39 +09:00
ginfuncs.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
gistfuncs.c pageinspect: Fix handling of page sizes and AM types 2022-03-16 11:19:39 +09:00
hashfuncs.c pageinspect: Fix handling of page sizes and AM types 2022-03-16 11:19:39 +09:00
heapfuncs.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
Makefile
pageinspect--1.0--1.1.sql
pageinspect--1.1--1.2.sql
pageinspect--1.2--1.3.sql
pageinspect--1.3--1.4.sql
pageinspect--1.4--1.5.sql
pageinspect--1.5--1.6.sql
pageinspect--1.5.sql
pageinspect--1.6--1.7.sql
pageinspect--1.7--1.8.sql
pageinspect--1.8--1.9.sql
pageinspect--1.9--1.10.sql
pageinspect.control
pageinspect.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
rawpage.c pageinspect: Fix handling of page sizes and AM types 2022-03-16 11:19:39 +09:00