postgresql/contrib/pageinspect
Tom Lane 367b99bbb1 Fix gin_leafpage_items().
On closer inspection, commit 84ad68d64 broke gin_leafpage_items(),
because the aligned copy of the page got palloc'd in a short-lived
context whereas it needs to be in the SRF's multi_call_memory_ctx.
This was not exposed by the regression test, because the regression
test doesn't actually exercise the function in a meaningful way.
Fix the code bug, and extend the test in what I hope is a portable
fashion.
2016-11-04 12:11:54 -04:00
..
expected Fix gin_leafpage_items(). 2016-11-04 12:11:54 -04:00
sql Fix gin_leafpage_items(). 2016-11-04 12:11:54 -04:00
.gitignore
brinfuncs.c
btreefuncs.c
fsmfuncs.c
ginfuncs.c Fix gin_leafpage_items(). 2016-11-04 12:11:54 -04:00
heapfuncs.c
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.sql
pageinspect--unpackaged--1.0.sql
pageinspect.control
rawpage.c