table-level and row-level locks.

From: "Jenny -" <nat_lazy(at)hotmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: table-level and row-level locks.
Date: 2003-07-10 18:40:25
Message-ID: BAY1-F69kGmY8TkomDt0000f7ee@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

<html><div style='background-color:'><DIV>
<DIV>
<DIV>Iam trying to acquire rowlevel locks in postgresql. I try doing this: </DIV>
<DIV>&nbsp;'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
<DT>AccessShareLock gets acquired which is a table level lock. </DT>
<DT>How do I acquire rowlevelock and what fields of Lock or Proclock datastructures indicate it.</DT>
<DT>Thanks</DT>
<DT>Jenny</DT></DIV></DIV></DIV></div><br clear=all><hr>Help STOP SPAM with <a href="http://g.msn.com/8HMRENUS/2731??PS=">the new MSN 8 </a> and get 2 months FREE*</html>

Attachment Content-Type Size
unknown_filename text/html 655 bytes

Browse pgsql-hackers by date

  From Date Subject
Next Message ivan 2003-07-10 19:01:34 Re: sugsestions
Previous Message Kurt Roeckx 2003-07-10 17:12:27 Re: Possible psql bug