row level lock and table level locks

From: Larry Douzie <cs4482003(at)yahoo(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: row level lock and table level locks
Date: 2003-09-08 02:45:53
Message-ID: 20030908024553.3191.qmail@web60208.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>A row lock is represented by storing the locking transaction's ID in
xmax and setting
>the HEAP_MARKED_FOR_UPDATE infomask bit. The bit is
needed to distinguish
>this from the case where the transaction is
deleting the tuple.

Is there a similar bit modified if the row in question is being waited
upon by some transaction?

---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-09-08 03:24:42 Re: row level lock and table level locks
Previous Message Rod Taylor 2003-09-08 01:29:01 Re: Needed function IF(expr, expr, expr)