Use materialize SRF mode in brin_page_items
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 13 Aug 2015 16:02:10 +0000 (13:02 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 13 Aug 2015 16:02:10 +0000 (13:02 -0300)
commit94d626ff5a82422825976c096e250b07657cd6f7
treec669bb04d8b1f223e1a059994dc0c95dd2ac2df2
parent36e863bbd42f5815cecbda2397950ea1ca36a81a
Use materialize SRF mode in brin_page_items

This function was using the single-value-per-call mechanism, but the
code relied on a relcache entry that wasn't kept open across calls.
This manifested as weird errors in buildfarm during the short time that
the "brin-1" isolation test lived.

Backpatch to 9.5, where it was introduced.
contrib/pageinspect/brinfuncs.c