pgsql: Use materialize SRF mode in brin_page_items - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Use materialize SRF mode in brin_page_items
Date
Msg-id E1ZPuxh-0005IE-GB@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/94d626ff5a82422825976c096e250b07657cd6f7

Modified Files
--------------
contrib/pageinspect/brinfuncs.c |  223 ++++++++++++++++++---------------------
1 file changed, 101 insertions(+), 122 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: pgsql: Replace our hacked version of ax_pthread.m4 with latest upstream
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Use materialize SRF mode in brin_page_items