From: Andres Freund <andres@anarazel.de>
To: immortaldragonm@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13598: Hang forever, but must rollback (deadlock)
Date: Mon, 31 Aug 2015 15:39:21 +0200
Message-ID: <20150831133921.GB11441@awork2.anarazel.de> (raw)
In-Reply-To: <20150831080351.2088.33853@wrigleys.postgresql.org>
References: <20150831080351.2088.33853@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 2015-08-31 08:03:51 +0000, immortaldragonm@gmail.com wrote:
> I think, that postgres must detect deadlock and rollback one of transaction
> with error. But it hang forever. Why? i think it's bug.
It's not a deadlock postgres can handle - the blocking part is in your
application. If these were submitted by two independent clients it'd
work.
Greetings,
Andres Freund
--
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: andres@anarazel.de, immortaldragonm@gmail.com
Subject: Re: BUG #13598: Hang forever, but must rollback (deadlock)
In-Reply-To: <20150831133921.GB11441@awork2.anarazel.de>
References: <20150831080351.2088.33853@wrigleys.postgresql.org> <20150831133921.GB11441@awork2.anarazel.de>
* 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