pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Use materialize SRF mode in brin_page_items
Date: Thu, 13 Aug 2015 16:02:37 +0000
Message-ID: <E1ZPuxh-0005IE-GB@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (2+ messages)  latest in thread

Message-ID: <E1ZPuxh-0005IE-GB@gemulon.postgresql.org>
Permalink:  ../E1ZPuxh-0005IE-GB@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ZPuxh-0005IE-GB@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Use materialize SRF mode in brin_page_items
  In-Reply-To: <E1ZPuxh-0005IE-GB@gemulon.postgresql.org>
  References: <E1ZPuxh-0005IE-GB@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox