Re: PostgreSQL sourcecode

Поиск
Список
Период
Сортировка
От Nicolas Barbier
Тема Re: PostgreSQL sourcecode
Дата
Msg-id AANLkTimqyATogaRns01JmsqVFNyh+p2Eq7VCMhKxHoM5@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PostgreSQL sourcecode  (aaronenabs <aaronenabs@btconnect.com>)
Список pgsql-hackers
2011/3/30 aaronenabs <aaronenabs@btconnect.com>:

> Can you alos advise how i change the the HeapTupleSatisfiesVisibility() to
> true within the source code:

[..]

> #define HeapTupleSatisfiesVisibility(tuple, snapshot, buffer) \
>        ((*(snapshot)->satisfies) ((tuple)->t_data, snapshot, buffer))

As someone totally not familiar with the PostgreSQL source code, I
would guess something like:

#define HeapTupleSatisfiesVisibility(tuple, snapshot, buffer) (1)

You might want to check the return type of the "satisfies" function
pointer though.

Nicolas


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

Предыдущее
От: aaronenabs
Дата:
Сообщение: Re: PostgreSQL sourcecode
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: crash-safe visibility map, take four