dbTalk Databases Forums  

is_locked() function for select-for-update locked rows

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss is_locked() function for select-for-update locked rows in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dexter Tad-y
 
Posts: n/a

Default is_locked() function for select-for-update locked rows - 02-16-2004 , 07:39 AM






Greetings,
I am interested in writing a stored procedure
(PL/Perl) in determining whether a particular row is
currently locked (using SELECT ..FOR UPDATE) by
another transaction. Any suggestions where can I
start? I'm going to use this primarily to avoid
blocking using selecting for update. Thanks.

Dexter Tad-y
dexterbt1 /*-at-*/ yahoo.com

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

---------------------------(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
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.