postgres/contrib/pageinspect/sql
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
..
brin.sql pageinspect: Add tests 2016-11-01 14:02:16 -04:00
btree.sql pageinspect: Make btree test more portable 2016-11-01 22:02:39 -04:00
gin.sql Fix gin_leafpage_items(). 2016-11-04 12:11:54 -04:00
page.sql pageinspect: Make page test more portable 2016-11-02 08:45:17 -04:00