pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christoph Berg <myon@debian.org>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-committers@postgresql.org
Subject: Re: Using contrib modules in check (Re: pgsql: Fix BRIN to use SnapshotAny during summarization)
Date: Mon, 10 Aug 2015 10:08:32 -0400
Message-ID: <2713.1439215712@sss.pgh.pa.us> (raw)
In-Reply-To: <20150810110038.GA20393@msg.df7cb.de>
References: <E1ZN4Fe-0000Nn-KB@gemulon.postgresql.org>
	<928.1438900846@sss.pgh.pa.us>
	<20150810110038.GA20393@msg.df7cb.de>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Christoph Berg <myon@debian.org> writes:
> Re: Tom Lane 2015-08-07 <928.1438900846@sss.pgh.pa.us>
>> I don't really think we need this isolation test at all, but if we do,
>> please fix it to not rely on any extensions.  Perhaps looking at
>> pg_relation_size or some such would do?  Or you could just issue
>> a query that should use the index, and see if it finds the rows it
>> ought to.

> this breaks the Debian package builds as well because we run
> check-world as a build step.
> Any chance for a fix/workaround so the nightly master/head builds will
> succeed again?

I was waiting for Alvaro to deal with this, but perhaps he's on summer
vacation or something.  I will remove the isolation test until he has
time to address it more fully.

However, we did learn something valuable from the fact that all the
-DCLOBBER_CACHE_ALWAYS critters failed on it: per my earlier message,
brin_page_items() is unsafe against a relcache flush on the index.
I'll put that on the 9.5 open items list.

(If I were tasked with fixing it, I'd be tempted to rewrite it to do
all the work in one call and return a tuplestore; the alternative
seems to be to try to keep the index open across multiple calls,
which would be a mess.)

			regards, tom lane


-- 
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 (7+ messages)  latest in thread

Message-ID: <2713.1439215712@sss.pgh.pa.us>
Permalink:  ../2713.1439215712@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2713.1439215712@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, myon@debian.org, alvherre@alvh.no-ip.org
  Subject: Re: Using contrib modules in check (Re: pgsql: Fix BRIN to use SnapshotAny during summarization)
  In-Reply-To: <2713.1439215712@sss.pgh.pa.us>
  References: <E1ZN4Fe-0000Nn-KB@gemulon.postgresql.org> <928.1438900846@sss.pgh.pa.us> <20150810110038.GA20393@msg.df7cb.de> <2713.1439215712@sss.pgh.pa.us>

* 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