lock timeout in pgsql 7.3.1 - Mailing list pgsql-novice

From Muhammad Shariq Muzaffar
Subject lock timeout in pgsql 7.3.1
Date
Msg-id 20030208102013.53865.qmail@web41114.mail.yahoo.com
Whole thread Raw
In response to Re:  (Andrew McMillan <andrew@catalyst.net.nz>)
List pgsql-novice
I am having a little problem with STATEMENT_TIMEOUT, i
dont know why this is happening....

there are 2 users, first user have selected a record
using FOR UPDATE.

second user have selected 5 records using FOR UPDATE.
but when the second user tries to select the record
which is locked by the first user. Pgsql gives the
error "ERROR: query was cancelled." and rollbacks the
transaction which unlocks all the records locked by
the second user.

Is there any way that pgsql only gives the error and
keep the status of the transction as it is?

thanx in advance.


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

pgsql-novice by date:

Previous
From: Andrew McMillan
Date:
Subject: Re:
Next
From: Muhammad Shariq Muzaffar
Date:
Subject: Transaction automatically rollback but why?