table level and row level locks - Mailing list pgsql-hackers

From Jenny -
Subject table level and row level locks
Date
Msg-id BAY1-F5RPMekG50v8dx000071dc@hotmail.com
Whole thread Raw
List pgsql-hackers
<div style="background-color:"><div><div><div>Iam trying to acquire rowlevel locks in postgresql. I try doing this:
</div><div> 'select* from students where name='Larry' for update;</div><div>But by looking at the holding array of
proclock, I've noticed that by doing this only <dl><dt>AccessShareLock gets acquired which is a table level lock.
<dt>Howdo I acquire rowlevelock and what fields of Lock or Proclock datastructures indicate
it.<dt>Thanks<dt>Jenny</dl></div></div></div></div><brclear="all" /><hr />Add photos to your e-mail with <a
href="http://g.msn.com/8HMZENUS/2746??PS=">MSN8.</a> Get 2 months FREE*. 

pgsql-hackers by date:

Previous
From: "Jenny -"
Date:
Subject: row level locks
Next
From: "Jenny -"
Date:
Subject: locking mechanism