Re: PostgreSQL sourcecode

Поиск
Список
Период
Сортировка
Искать
От
Nicolas Barbier
Тема
Re: PostgreSQL sourcecode
Дата
Msg-id
AANLkTimqyATogaRns01JmsqVFNyh+p2Eq7VCMhKxHoM5@mail.gmail.com
Ответ на
Список
Дерево обсуждения
PostgreSQL sourcecode aaronenabs <aaronenabs@btconnect.com>
Re: PostgreSQL sourcecode Josh Berkus <josh@agliodbs.com>
Re: PostgreSQL sourcecode aaronenabs <aaronenabs@btconnect.com>
Re: PostgreSQL sourcecode Andrew Dunstan <andrew@dunslane.net>
Re: PostgreSQL sourcecode Andrew Dunstan <andrew@dunslane.net>
Re: PostgreSQL sourcecode Nicolas Barbier <nicolas.barbier@gmail.com>
Re: PostgreSQL sourcecode aaronenabs <aaronenabs@btconnect.com>
Re: PostgreSQL sourcecode Nicolas Barbier <nicolas.barbier@gmail.com>
2011/3/30 aaronenabs :

> 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
Дата:
FAQ