Re: deadlock problem in Ad serving..

From: Bhuvan A <bhuvansql(at)myrealbox(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: deadlock problem in Ad serving..
Date: 2003-01-20 10:02:33
Message-ID: Pine.LNX.4.44.0301201527090.11065-100000@Bhuvan.bksys.co.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> ~~~~~~~~~~~~~~~~~~~~~~
> Error: DBD::Pg::st execute failed: ERROR: deadlock detected at
> /usr/local/perlapache/lib/perl/Banner.pm line 71, <GEN1> line 7.
> ~~~~~~~~~~~~~~~~~~~~~~

It is a genuine error, occurs while two or more transaction process tries
to update/delete a same record simultaneously. You can overcome this by
locking the table in share row exclusive mode also. More details can be
found in the lock command documentation.

regards,
bhuvaneswaran

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Zhiqiang Feng 2003-01-20 12:12:34
Previous Message Rajesh Kumar Mallah. 2003-01-20 08:48:54 deadlock problem in Ad serving..