From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: Andrew Sackville-West <awest@janrain.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Cc: Paulo Tanimoto <paulo@janrain.com>
Subject: Re: regression, deadlock in high frequency single-row UPDATE
Date: Wed, 10 Dec 2014 16:07:30 +1300
Message-ID: <5487B8F2.6050806@catalyst.net.nz> (raw)
In-Reply-To: <CAAdHSJk7E5oNuinLwqTzmqGKRHaMmGa5KwBf9BWAmiNfLyHSgw@mail.gmail.com>
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>
<CAAdHSJk7E5oNuinLwqTzmqGKRHaMmGa5KwBf9BWAmiNfLyHSgw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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
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: mark.kirkwood@catalyst.net.nz, awest@janrain.com, alvherre@2ndquadrant.com, paulo@janrain.com
Subject: Re: regression, deadlock in high frequency single-row UPDATE
In-Reply-To: <5487B8F2.6050806@catalyst.net.nz>
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> <CAAdHSJk7E5oNuinLwqTzmqGKRHaMmGa5KwBf9BWAmiNfLyHSgw@mail.gmail.com> <5487B8F2.6050806@catalyst.net.nz>
* 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