pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vit Timchishin <tivv@gtech-ua.com>
To: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: More about deadlock
Date: Tue, 06 Dec 2005 14:20:50 +0200 (EET)
Message-ID: <200512061420.000000EL@dev-null> (raw)

Hello.

I've now got more details on my deadlock. Here is what I have at the time it occurs:
umh=# select * from pg_locks where transaction=1119237;
 relation | database | transaction |  pid  |     mode      | granted
----------+----------+-------------+-------+---------------+---------
          |          |     1119237 | 18880 | ShareLock     | f
          |          |     1119237 | 18404 | ExclusiveLock | t
(2 rows)

Can anyone tell me what are this "transaction" locks, when they are taken and why do I have a deadlock 
here.

С уважением,
Виталий Валериевич Тимчишин,
Технический Директор
ООО "Голден Технолоджис"
http://www.gtech-ua.com






view thread (2+ messages)  latest in thread

Message-ID: <200512061420.000000EL@dev-null>
Permalink:  ../200512061420.000000EL@dev-null/
Also on:    postgresql.org/message-id/200512061420.000000EL@dev-null

 · 

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: tivv@gtech-ua.com
  Subject: Re: More about deadlock
  In-Reply-To: <200512061420.000000EL@dev-null>
  References: <200512061420.000000EL@dev-null>

* 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