From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Alexander Staubo <alex(at)purefiction(dot)net> |
Cc: | PgSQL General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Stuck in "DELETE waiting" |
Date: | 2006-11-23 15:27:59 |
Message-ID: | 13501.1164295679@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Alexander Staubo <alex(at)purefiction(dot)net> writes:
> My application's connections against PostgreSQL 8.1.4 seem to get
> stuck in deletion operations.
> ...
> # select * from pg_locks where pid in (18198, 18204, 18208, 18214,
> 18216);
You really need to show all of pg_locks, not a subset. In this example
it appears that 18204 and 18198 are waiting for transactions that are
not part of this subset, so it's hard to say what's happening.
It could be that you are getting bit by this recently identified bug:
http://archives.postgresql.org/pgsql-general/2006-11/msg01004.php
http://archives.postgresql.org/pgsql-committers/2006-11/msg00121.php
but the symptoms known so far for that involve unexpected
"deadlock detected" errors, not silent hangups.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-11-23 15:43:27 | Re: OID Perfomance - Object-Relational databases |
Previous Message | Brendan Jurd | 2006-11-23 15:26:22 | Re: ISO week dates |