pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Andres Freund <andres@anarazel.de>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Fix deadlock hazard in CREATE INDEX CONCURRENTLY
Date: Wed, 03 Jan 2018 09:53:31 -0500
Message-ID: <11104.1514991211@sss.pgh.pa.us> (raw)
In-Reply-To: <20180103144749.mizihdcsmvtwl6qb@alvherre.pgsql>
References: <20180103144749.mizihdcsmvtwl6qb@alvherre.pgsql>

Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Alvaro Herrera wrote:
>> However this means that the test will get removed in 9.4 and 9.5 because
>> isolationtester is not smart enough there.
>> 
>> I suppose the other option would be to add an alternate expected file
>> for the test.

> Actually, so far only 9.6 and up have failed.  Maybe the old
> isolationtester is different enough that the other thing doesn't happen.

> I'm more inclined now to add the alternate file instead of the other
> patch.

Meh.  I'd rather have the more stable test going forward; I think
alternate expected-files too easily hide unexpected behavior.  We could
try leaving 9.4/9.5 alone and see if it's true that it doesn't fail
there.  If not, I wouldn't mind losing the test in those branches
--- it's mainly intended to catch future breakage, after all.

			regards, tom lane




view thread (16+ messages)  latest in thread

Message-ID: <11104.1514991211@sss.pgh.pa.us>
Permalink:  ../11104.1514991211@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11104.1514991211@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, alvherre@alvh.no-ip.org, andres@anarazel.de, jeff.janes@gmail.com
  Subject: Re: pgsql: Fix deadlock hazard in CREATE INDEX CONCURRENTLY
  In-Reply-To: <11104.1514991211@sss.pgh.pa.us>
  References: <20180103144749.mizihdcsmvtwl6qb@alvherre.pgsql> <11104.1514991211@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