pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Geoghegan <pg@heroku.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Oskari Saarenmaa <os@aiven.io>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Peter Tripp <peter@chartio.com>
Cc: Virendra Negi <virendra@idyllic-software.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14150: Attempted to delete invisible tuple
Date: Thu, 18 Aug 2016 17:09:27 -0400
Message-ID: <25328.1471554567@sss.pgh.pa.us> (raw)
In-Reply-To: <CAM3SWZTo9RajJ_kFpBSW71Uy06npkfuXrJoXqwassYhgbqfu=g@mail.gmail.com>
References: <CAM3SWZQZb=6FDyhGCf9oyNfCAC+6RC+D3fEm9z6hcMHbrR3XsQ@mail.gmail.com>
	<20160728010423.aepl2nk5e2ecmcfy@alap3.anarazel.de>
	<CAM3SWZSVHocX3GtR2i_9mHjsYk5zCOE494TRTmJPwHhvVoUA-g@mail.gmail.com>
	<CAM3SWZS0u0LcoYbeUp0TQFcR--p8LdDrMmySqXP7i_pYbnP9=w@mail.gmail.com>
	<20160731223146.52zykyros7wx57t2@alap3.anarazel.de>
	<6e11604c-d8a1-93d3-63f2-a02c3048afce@aiven.io>
	<20160818000932.5ugispgqu3iw3g54@alap3.anarazel.de>
	<7969.1471484738@sss.pgh.pa.us>
	<20160818194639.e3izk4gfm2srmumm@alap3.anarazel.de>
	<24166.1471552719@sss.pgh.pa.us>
	<20160818204342.ktav5k7tenerom4v@alap3.anarazel.de>
	<CAM3SWZTo9RajJ_kFpBSW71Uy06npkfuXrJoXqwassYhgbqfu=g@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Peter Geoghegan <pg@heroku.com> writes:
> On Thu, Aug 18, 2016 at 1:43 PM, Andres Freund <andres@anarazel.de> wrote:
>> I don't think it's applicable here - s2/3 are woken up by the same lock
>> release. The order in which the OS lets them run primarily determines
>> the result visibility. A sleep wouldn't hide the difference in output
>> order afaics. I guess we could hide the combined steps (insert & sleep)
>> in a function, but ...

> There is an argument to be made for fixing isolationtester to
> accommodate this kind of thing.

The existing accommodation is support for multiple expected-files.
Do you have a better idea?  We can't just let it accept different
response orders as valid in all cases, because often they wouldn't be.

			regards, tom lane


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



view thread (58+ messages)  latest in thread

Message-ID: <25328.1471554567@sss.pgh.pa.us>
Permalink:  ../25328.1471554567@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25328.1471554567@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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pg@heroku.com, andres@anarazel.de, alvherre@2ndquadrant.com, os@aiven.io, michael.paquier@gmail.com, peter@chartio.com, virendra@idyllic-software.com
  Subject: Re: BUG #14150: Attempted to delete invisible tuple
  In-Reply-To: <25328.1471554567@sss.pgh.pa.us>
  References: <CAM3SWZQZb=6FDyhGCf9oyNfCAC+6RC+D3fEm9z6hcMHbrR3XsQ@mail.gmail.com> <20160728010423.aepl2nk5e2ecmcfy@alap3.anarazel.de> <CAM3SWZSVHocX3GtR2i_9mHjsYk5zCOE494TRTmJPwHhvVoUA-g@mail.gmail.com> <CAM3SWZS0u0LcoYbeUp0TQFcR--p8LdDrMmySqXP7i_pYbnP9=w@mail.gmail.com> <20160731223146.52zykyros7wx57t2@alap3.anarazel.de> <6e11604c-d8a1-93d3-63f2-a02c3048afce@aiven.io> <20160818000932.5ugispgqu3iw3g54@alap3.anarazel.de> <7969.1471484738@sss.pgh.pa.us> <20160818194639.e3izk4gfm2srmumm@alap3.anarazel.de> <24166.1471552719@sss.pgh.pa.us> <20160818204342.ktav5k7tenerom4v@alap3.anarazel.de> <CAM3SWZTo9RajJ_kFpBSW71Uy06npkfuXrJoXqwassYhgbqfu=g@mail.gmail.com> <25328.1471554567@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