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 pageinspect: Add tests 2016-11-01 14:02:16 -04:00
brinfuncs.c
btreefuncs.c
fsmfuncs.c
ginfuncs.c Fix gin_leafpage_items(). 2016-11-04 12:11:54 -04:00
heapfuncs.c Fix typo in comment. 2016-10-26 11:10:13 +03:00
Makefile pageinspect: Add tests 2016-11-01 14:02:16 -04:00
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 Update pageinspect extension for parallel query. 2016-06-09 17:18:09 -04:00
pageinspect--1.5.sql Update pageinspect extension for parallel query. 2016-06-09 17:18:09 -04:00
pageinspect--unpackaged--1.0.sql
pageinspect.control Update pageinspect extension for parallel query. 2016-06-09 17:18:09 -04:00
rawpage.c