Use materialize SRF mode in brin_page_items

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 94d626ff5a82422825976c096e250b07657cd6f7
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2015-08-13T16:02:10Z
Releases: 9.6.0
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.

Files

PathChange+/−
contrib/pageinspect/brinfuncs.c modified +101 −122