Re: PostgreSQL sourcecode

From: Nicolas Barbier <nicolas(dot)barbier(at)gmail(dot)com>
To: aaronenabs <aaronenabs(at)btconnect(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PostgreSQL sourcecode
Date: 2011-03-30 12:55:26
Message-ID: AANLkTimqyATogaRns01JmsqVFNyh+p2Eq7VCMhKxHoM5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2011/3/30 aaronenabs <aaronenabs(at)btconnect(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Luca Ferrari 2011-03-30 13:13:12 9.0.3 SIGFAULT on FreeBSD with dtrace
Previous Message Heikki Linnakangas 2011-03-30 12:52:11 Re: crash-safe visibility map, take four