Thread: Problems with Transactions

Problems with Transactions

From
Héctor Iturre
Date:
Hi,  I'm using Postgres 7.2 and i'm having problems with
transactions. Is there a function or table that
informs which user is blocking a row?     Thanks for all
                      Kbza

Ahora podés usar Yahoo! Messenger desde tu celular. Aprendé cómo hacerlo en Yahoo! Móvil:
http://ar.mobile.yahoo.com/sms.html


Re: Problems with Transactions

From
Christoph Haller
Date:
>
> I'm using Postgres 7.2 and i'm having problems with
> transactions. Is there a function or table that
> informs which user is blocking a row?
>
AFAIK, there is no such information available.
Are your problems with transactions coming from
blocked rows?

Maybe this 7.3 feature can help you

>
> PostgreSQL 7.3 Documentation
> 3.4. Run-time Configuration
> STATEMENT_TIMEOUT (integer)
> Aborts any statement that takes over the specified number of
milliseconds. A value of zero turns off the timer.
> DEADLOCK_TIMEOUT (integer)
> This is the amount of time, in milliseconds, to wait on a lock before
checking to see if there is a deadlock condition
>
Regards, Christoph