Re: Idea for cleaner representation of snapshots

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Idea for cleaner representation of snapshots
Дата
Msg-id 24712.1174770905@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Idea for cleaner representation of snapshots  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> On Sat, Mar 24, 2007 at 02:00:30PM -0400, Tom Lane wrote:
>> HeapTupleSatisfiesVisibility reduces to something like
>> ((*(snapshot)->satisfies) ((tuple)->t_data, snapshot, buffer))

> Sounds like a winner. Essentially snapshots becomes objects that have
> methods you can use to interact with them.

Right, it's poor man's C++ ;-).

I've just finished coding the patch and it looks good ... still testing
though.
        regards, tom lane


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Idea for cleaner representation of snapshots
Следующее
От: Jim Nasby
Дата:
Сообщение: Vacation