[GENERAL] deadlock problem

2009-03-19 Thread Milos Findura
hi, I found a deadlock on 2 queries, DELETE and REINDEX TABLE DELETE waits for RowExclusiveLock on table address_jd and REINDEX waits for AccessExclusiveLock on PRIMARY KEY address_jd_pk log: Mar 19 00:30:53 ch08bl09 postgres[25576]: [5-1] host=10.0.5.144,user=ppstat,db=ppstat ERROR: deadlock d

Re: [GENERAL] deadlock problem

2009-03-19 Thread Milos Findura
Not so, statements have diffrent pid. Delete is called in application, bud REINDEX is called via some cron admin script. t. On Thursday 19 of March 2009 13:35:03 Tom Lane wrote: > Milos Findura writes: > > where can be problem? > > Presumably, one statement or the ot

[GENERAL] deadlock problem

2009-03-19 Thread Milos Findura
hi, I found a deadlock on 2 queries, DELETE and REINDEX TABLE DELETE waits for RowExclusiveLock on table address_jd and REINDEX waits for AccessExclusiveLock on PRIMARY KEY address_jd_pk log: Mar 19 00:30:53 ch08bl09 postgres[25576]: [5-1] host=10.0.5.144,user=ppstat,db=ppstat ERROR: deadlock d