Re: table-level and row-level locks. - Mailing list pgsql-hackers

From Koichi Suzuki
Subject Re: table-level and row-level locks.
Date
Msg-id 200308201558.36596.suzukikui@nttdata.co.jp
Whole thread Raw
In response to Re: table-level and row-level locks.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: table-level and row-level locks.
List pgsql-hackers
Hi,

I understand this is very old topics but ...
I tried to find where such lock mark is defined in each tuple on disk, but I
failed to find such definition in include/access/htup.h.  Only the bit
relevant to lock is HEAP_XMAX_UNLOGGED and I understand this bit is used only
when we have to split a big tuple into multiple blocks or to toast it.

I need to know where such "lock marks" are stored in the source level.

Any hint is appreciated.

Thanks, 

Koichi Suzuki, NTT DATA Intellilink Corp.


土曜日 12 7月 2003 00:17、Tom Lane さんは書きました:

> Please do not use HTML mail on
> this list ...
>
> Anyway, the answer to your
> question is that row locks are
> recorded on disk (by marking
> the tuple as locked).  We'd
> soon run out of memory if we
> tried to record them in the
> shared lock table.
>
>             regards, tom lane
>





pgsql-hackers by date:

Previous
From:
Date:
Subject: Re: Your application
Next
From:
Date:
Subject: Your details