Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1baUZF-0006by-5G for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Aug 2016 21:09:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1baUZE-0002NI-DQ for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Aug 2016 21:09:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1baUZE-0002NC-3N for pgsql-bugs@postgresql.org; Thu, 18 Aug 2016 21:09:36 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1baUZB-0004Mj-8J for pgsql-bugs@postgresql.org; Thu, 18 Aug 2016 21:09:35 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u7IL9RdW025329; Thu, 18 Aug 2016 17:09:27 -0400 From: Tom Lane To: Peter Geoghegan cc: Andres Freund , Alvaro Herrera , Oskari Saarenmaa , Michael Paquier , Peter Tripp , Virendra Negi , pgsql-bugs Subject: Re: BUG #14150: Attempted to delete invisible tuple In-reply-to: References: <20160728010423.aepl2nk5e2ecmcfy@alap3.anarazel.de> <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> Comments: In-reply-to Peter Geoghegan message dated "Thu, 18 Aug 2016 13:57:42 -0700" Date: Thu, 18 Aug 2016 17:09:27 -0400 Message-ID: <25328.1471554567@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Peter Geoghegan writes: > On Thu, Aug 18, 2016 at 1:43 PM, Andres Freund 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