git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 927d7bb) | patch
Fix gin_leafpage_items().
Fri, 4 Nov 2016 16:11:47 +0000 (12:11 -0400)
Fri, 4 Nov 2016 16:11:54 +0000 (12:11 -0400)
commit 367b99bbb13a14bd96bba6f73c231b2056ba9592
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.
contrib/pageinspect/expected/gin.out diff | blob | blame | history
contrib/pageinspect/ginfuncs.c diff | blob | blame | history
contrib/pageinspect/sql/gin.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /