Re: table-level and row-level locks.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: table-level and row-level locks.
Дата
Msg-id 20030907235239.GA3797@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: table-level and row-level locks.  ("Jenny -" <nat_lazy@hotmail.com>)
Список pgsql-hackers
On Sun, Sep 07, 2003 at 04:07:42PM -0700, Jenny - wrote:
> >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.
> 
> where is 'HEAP_MARKED_FOR_UPDATE infomask bit' found ?

Have you ever heard of the "grep" *nix utility?  It's quite useful.

Anyway, t_infomask is part of a struct called HeapTupleHeaderData,
defined somewhere in src/include/access/htup.h

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
You liked Linux a lot when he was just the gawky kid from down the block
mowing your lawn or shoveling the snow. But now that he wants to date
your daughter, you're not so sure he measures up. (Larry Greenemeier)


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: [GENERAL] Needed function IF(expr, expr, expr)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] Needed function IF(expr, expr, expr)