Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XyXcy-0005ia-Pi for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Dec 2014 03:07:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XyXcy-0005er-8d for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Dec 2014 03:07:48 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XyXcx-0005cR-2F for pgsql-bugs@postgresql.org; Wed, 10 Dec 2014 03:07:47 +0000 Received: from mail.catalyst.net.nz ([2404:130:0:10::40:0]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XyXcs-0006YP-U9 for pgsql-bugs@postgresql.org; Wed, 10 Dec 2014 03:07:45 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.catalyst.net.nz (Postfix) with ESMTP id 114C5324D2; Wed, 10 Dec 2014 16:07:39 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at catalyst.net.nz Received: from mail.catalyst.net.nz ([127.0.0.1]) by localhost (bertrand.catalyst.net.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PhXaKO4iU-V7; Wed, 10 Dec 2014 16:07:35 +1300 (NZDT) Received: from [192.168.1.64] (122-61-23-238.jetstream.xtra.co.nz [122.61.23.238]) (Authenticated sender: mark.kirkwood) by mail.catalyst.net.nz (Postfix) with ESMTPSA id D4696322F6; Wed, 10 Dec 2014 16:07:30 +1300 (NZDT) Message-ID: <5487B8F2.6050806@catalyst.net.nz> Date: Wed, 10 Dec 2014 16:07:30 +1300 From: Mark Kirkwood User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Andrew Sackville-West CC: Alvaro Herrera , pgsql-bugs@postgresql.org, Paulo Tanimoto Subject: Re: regression, deadlock in high frequency single-row UPDATE References: <20140731233051.GN17765@andrew-ThinkPad-X230> <20140801005950.GF5475@eldon.alvh.no-ip.org> <20140804161205.GA30380@andrew-ThinkPad-X230> <20140804163027.GI5475@eldon.alvh.no-ip.org> <20141208235552.GZ6930@andrew-ThinkPad-X230> <54868FA2.80003@catalyst.net.nz> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) 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 On 10/12/14 06:28, Andrew Sackville-West wrote: > On Mon, Dec 8, 2014 at 9:58 PM, Mark Kirkwood > Just mucking about I changed certain things in your schema setup > (removed ON DELETE CASCADE, use CURRENT_TIMESTAMP instead of > now()...lessen the use of DEFAULT)...however still seeing deadlocks > in 9.4, so at least it is easy to reproduce! > > > Can you speak to what benefits those changes might yield? Or point to > relevant docs? > Not so much advantages - just seeing if I could still reproduce the issue with a simpler test case i.e ensuring you were not doing anything 'odd' - and you are not :-) The next step would be trying to figure out what commit introduced this behaviour - but depesz has already beaten me to that (nice work)! Cheers Mark -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs