pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Vit Timchishin <tivv@gtech-ua.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: More about deadlock
Date: Tue, 06 Dec 2005 12:07:57 -0500
Message-ID: <4800.1133888877@sss.pgh.pa.us> (raw)
In-Reply-To: <200512061420.000000EL@dev-null>
References: <200512061420.000000EL@dev-null>

"Vit Timchishin" <tivv@gtech-ua.com> writes:
> Can anyone tell me what are this "transaction" locks, when they are taken and why do I have a deadlock 
> here.

Foreign-key update deadlock maybe?  If so, updating to 8.1 is probably
a good solution.  Previous versions took exclusive row locks on
referenced rows, and so you could easily get a deadlock on those row
locks.

			regards, tom lane



view thread (2+ messages)

Message-ID: <4800.1133888877@sss.pgh.pa.us>
Permalink:  ../4800.1133888877@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4800.1133888877@sss.pgh.pa.us

 · 

reply

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-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tivv@gtech-ua.com
  Subject: Re: More about deadlock
  In-Reply-To: <4800.1133888877@sss.pgh.pa.us>
  References: <200512061420.000000EL@dev-null> <4800.1133888877@sss.pgh.pa.us>

* 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