Re: deadlock detected when calling function (Call function_name)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux