home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / informix / 2448 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  985 b 

  1. Path: sparky!uunet!ogicse!uwm.edu!rpi!news.ans.net!cmcl2!panix!clay
  2. From: clay@panix.com (Clay Irving)
  3. Newsgroups: comp.databases.informix
  4. Subject: Row locks
  5. Message-ID: <1992Nov17.041550.11286@panix.com>
  6. Date: 17 Nov 92 04:15:50 GMT
  7. Article-I.D.: panix.1992Nov17.041550.11286
  8. Organization: PANIX Public Access Unix, NYC
  9. Lines: 13
  10.  
  11. We've written a program that updates several rows in a table. We assumed that
  12. we may run into locking problems since these rows may be updated by another
  13. program. So... We test for the lock and if we can't lock the row, we issue
  14. an error message to inform the user that one of the rows can not be locked --
  15. someone else has it. Now, how can we find who's locking the row? Tbmonitor
  16. shows me users with locks, but it doesn't indicate what the lock is...
  17.  
  18. There has to be a better way?...
  19.  
  20. -- 
  21. Clay Irving           Personal: clay@panix.com   {...uunet, cmc12}!panix!clay 
  22. New York, New York        Work: clay@garpac.com  {...uupsi3, 4gen}!garpac!clay
  23. --
  24.