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 Add missing checks to some of pageinspect's BRIN functions 2016-03-28 10:57:42 -03:00
btreefuncs.c Remove unused macros. 2016-05-02 10:07:49 +03:00
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 Revert no-op changes to BufferGetPage() 2016-04-20 08:31:19 -05:00