On Wed, Dec 30, 2009 at 8:29 AM, Sherif Kottapurath <sherifkm@gmail.com> wrote:
> All threads shown here are operating on
> the same table, and they are all parts of transactions involving multiple tables.
> deadlock detection is set for 1 sec and no dedlocks are reported by postgres.
From my experience, PostgreSQL doesn't report deadlocks. This is true
when purposely creating a dead-lock situation using two instances of
psql. However, unless you've set your transaction isolation level to
SERIALIZABLE ( the default isolation level is READ COMMITED), you will
not be getting deadlocks from PostgreSQL.
http://www.postgresql.org/docs/8.4/interactive/transaction-iso.html#XACT-SERIALIZABLEhttp://www.postgresql.org/docs/8.4/interactive/transaction-iso.html#XACT-READ-COMMITTED
Also, IIRC the PostgreSQL JDBC driver only allows a single thread to
access a connection object at a time.
http://jdbc.postgresql.org/documentation/84/thread.html
Could this be causing your problem?
--
Regards,
Richard Broersma Jr.