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 15:46:55
Message-ID: BAY1-F137scL9NtDEJm000038f1@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

<html><div style='background-color:'><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><br clear=all><hr>MSN 8 with <a href="http://g.msn.com/8HMRENUS/2740??PS=">e-mail virus protection service: </a> 2 months FREE*</html>

Attachment Content-Type Size
unknown_filename text/html 633 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Doug McNaught 2003-07-10 17:03:21 Re: Beta start date
Previous Message Robert Treat 2003-07-10 15:15:41 Re: weird problem