dbTalk Databases Forums  

[BUGS] BUG #1633: about transactions and row level locking

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1633: about transactions and row level locking in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
deepak
 
Posts: n/a

Default [BUGS] BUG #1633: about transactions and row level locking - 04-27-2005 , 08:51 AM







The following bug has been logged online:

Bug reference: 1633
Logged by: deepak
Email address: deepak (AT) jtech (DOT) co.in
PostgreSQL version: 8.0.1
Operating system: MS windows 2000 Server
Description: about transactions and row level locking
Details:

How we can know a record is locked before updating the record. The purpose
is to avoid deadlock or queuing of update statements while using "select *
from table for update".

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)

Reply With Quote
  #2  
Old   
Bruno Wolff III
 
Posts: n/a

Default Re: [BUGS] BUG #1633: about transactions and row level locking - 04-27-2005 , 08:17 PM






On Wed, Apr 27, 2005 at 13:56:02 +0100,
deepak <deepak (AT) jtech (DOT) co.in> wrote:
Quote:
The following bug has been logged online:
This isn't a bug, its a question. I am moving the discussion over to
the general list.

Quote:
Bug reference: 1633
Logged by: deepak
Email address: deepak (AT) jtech (DOT) co.in
PostgreSQL version: 8.0.1
Operating system: MS windows 2000 Server
Description: about transactions and row level locking
Details:

How we can know a record is locked before updating the record. The purpose
is to avoid deadlock or queuing of update statements while using "select *
from table for update".
You might be able to use a short timeout on the statement that tries the
update.

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.