| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Philippe Lang" <philippe(dot)lang(at)attiksystem(dot)ch> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: FKs and deadlocks |
| Date: | 2004-10-25 14:15:53 |
| Message-ID: | 18257.1098713753@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
"Philippe Lang" <philippe(dot)lang(at)attiksystem(dot)ch> writes:
> I got a deadlock in my database this morning.
There is no deadlock here. The ungranted rows in pg_locks all point to
the transaction ID 6489299, which belongs to PID 11346, which is this
one:
> 11346 ?? R 236:43.23 postmaster: jlroubaty groupefpdb 172.17.10.14 UPDATE (postgres)
An UPDATE that churns for hours and hours may well represent a bug in
your application (unconstrained join maybe?) but it's not a deadlock.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Vassilev, Lubomir G. | 2004-10-25 14:16:14 | Re: how to port Oracle database to PostgreSQL? |
| Previous Message | Steven Klassen | 2004-10-25 14:04:56 | Re: Bug or stupidity |