Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j1kIQ-0006UQ-R5 for pgsql-committers@arkaria.postgresql.org; Wed, 12 Feb 2020 05:10:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j1kIP-0003d5-Kw for pgsql-committers@arkaria.postgresql.org; Wed, 12 Feb 2020 05:10:45 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1j1kIP-0003cx-Di for pgsql-committers@lists.postgresql.org; Wed, 12 Feb 2020 05:10:45 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j1kIM-0005lZ-FV for pgsql-committers@lists.postgresql.org; Wed, 12 Feb 2020 05:10:45 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 3265C487; Wed, 12 Feb 2020 00:10:40 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 12 Feb 2020 00:10:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=slO8Jcw8PCnznwzRX/iXxY0dQkf /Jjv/a6kY5/K2Xm4=; b=KV9OYboaLVava6HnfZOYl0jh5brj8kvEudz1Dj6KHP4 Avz3SeIfQMvSkK2RRqR8qHVKoMMmpVQxgK5TZGkyQOzG9G2yNWI9Fdszqdi7GUXh UC9Q+5orgf2B59Yz8Io3KR/MxRlv+mvArzsk0eb4RUJT63F+yCLKEf0kB2QJpAix t9EeDZOwG05o/VBPTx9J94WWEf1c87Hqxy+X6TYsf6pGBRB7Jg6rZ8c+pHkb0VRo p3ivycTR6Pmz8Xql9uFXqOlcLPPbXErU2ALO5k3yzWXAogHIvaurfDfaCEdGIEi3 M7fmNPb9k8UXf+JgqV5d5A7vQXQxl7Q5T/OxKJqHV7Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=slO8Jc w8PCnznwzRX/iXxY0dQkf/Jjv/a6kY5/K2Xm4=; b=iAMzblbc5uwpzrfwsJxZG6 UUZZgkKp+VPv/+k8RVouXD+51f5kEll6IyC/9J0xZFqi+RyHD3q2nb2H22dCssKi pdiBVz1+kg/N/WDPOZ6lUrw/l5Qy2HAKXtc3wne/VYG2DOV973VcFNF0VRbNgaIm 3e92riAur7WZ6h9g/Bo8qWx4UPVU8r++Y/j9gvxEP5ARDkUnEIJyq/naBb1rzlHp kqjwP7mb8Vx28pZHUVp8TTD9AZuyZTrnrrkAJ6oOVTel8XquO//yskO4pYZ2weL0 OWgCXEFPPfecBmb9ztU/9vuIQaD8gCXMBA89DJGjfB/8B6FK8vYPyUCj+wrr0VWw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrieeggdejhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughrvghs ucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuffhomhgrih hnpehpohhsthhgrhgvshhqlhdrohhrghenucfkphepieejrdduiedtrddvudejrddvhedt necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghnug hrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Received: from intern.anarazel.de (c-67-160-217-250.hsd1.ca.comcast.net [67.160.217.250]) by mail.messagingengine.com (Postfix) with ESMTPA id 4827E3060986; Wed, 12 Feb 2020 00:10:39 -0500 (EST) Date: Tue, 11 Feb 2020 21:10:38 -0800 From: Andres Freund To: Michael Paquier Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Test additional speculative conflict scenarios. Message-ID: <20200212051038.krac274rxnpk72tn@alap3.anarazel.de> References: <20200212050717.GA1464@paquier.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200212050717.GA1464@paquier.xyz> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2020-02-12 14:07:17 +0900, Michael Paquier wrote: > On Wed, Feb 12, 2020 at 12:43:09AM +0000, Andres Freund wrote: > > Test additional speculative conflict scenarios. > > > > Previously, the speculative insert tests did not cover the case when a > > tuple t is inserted into a table with a unique index on a column but > > before it can insert into the index, a concurrent transaction has > > inserted a conflicting value into the index and the insertion of tuple t > > must be aborted. > > guaibasaurus is unhappy after this commit: > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=guaibasaurus&dt=2020-02-12%2004%3A17%3A03 > > Here is the culprit diff: > application_namelocktype mode granted > > + transactionid ExclusiveLock t > isolation/insert-conflict-specconflict-s1speculative tokenShareLock f > isolation/insert-conflict-specconflict-s1transactionid ExclusiveLock t > isolation/insert-conflict-specconflict-s2speculative tokenExclusiveLock t Yea, working on the fix already (just restricting application name to 'isolation/insert-conflict-specconflict-s%'). Greetings, Andres Freund