More about deadlock - Mailing list pgsql-jdbc

From Vit Timchishin
Subject More about deadlock
Date
Msg-id 200512061420.000000EL@dev-null
Whole thread Raw
Responses Re: More about deadlock  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-jdbc
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




pgsql-jdbc by date:

Previous
From: Jan de Visser
Date:
Subject: Re: pgsql XA with weblogic 8.1?
Next
From: Kris Jurka
Date:
Subject: Re: bug with 8.X level 4 driver?