diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-11-04 12:11:47 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-11-04 12:11:54 -0400 |
commit | 367b99bbb13a14bd96bba6f73c231b2056ba9592 (patch) | |
tree | 7ddb1153a4ee6807b21de76c0b92d63718738eed /src/backend/access/transam/xlog.c | |
parent | 927d7bb6b120a2ca09a164898f887eb850b7a329 (diff) | |
download | postgresql-367b99bbb13a14bd96bba6f73c231b2056ba9592.tar.gz postgresql-367b99bbb13a14bd96bba6f73c231b2056ba9592.zip |
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.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions