Sachchida Ojha wrote: > > Hello, > I am getting following error from my application. Can any body tell me > how to find the process name and transaction details when the deadlock > occurred? > > This problem did not occur consistently. > > Error log > > 2007-07-30 19:09:12,140 ERROR [se.em.asset.persistence.AssetUpdate] > SQLException calling procedure{? = call update_asset_dependents(?,?,?)} > for asset id 36 > > org.postgresql.util.PSQLException: ERROR: deadlock detected > > Detail: Process 21172 waits for ShareLock on transaction 5098759; > blocked by process 21154. > Process 21154 waits for ShareLock on transaction 5098760; blocked by > process 21172. What Postgres version is this? -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc. ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend