On Wed, Aug 31, 2011 at 9:45 AM, Gary Merkel <garymer...@accugenix.com> wrote:
> Having trouble installing dblink under PostgreSQL 8.4.4 on MAC OS X 10.4.11
>
> Running make gives the following error:
>
> sed 's,MODULE_PATHNAME,$libdir/dblink,g' dblink.sql.in >dblink.sql
>
> gcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
> -I../../src/interfaces/libpq -I. -I../../src/include   -c -o dblink.o
> dblink.c
> dblink.c: In function 'get_pkey_attnames':
> dblink.c:1698: error: 'SnapshotNow' undeclared (first use in this function)
> dblink.c:1698: error: (Each undeclared identifier is reported only once
> dblink.c:1698: error: for each function it appears in.)
> make: *** [dblink.o] Error 1
>
> Does anyone know a fix to this?

This is hard to understand, because SnapshotNow is defined in
utils/tqual.h, and dblink.c includes that file.

Also, I checked out the official sources at tag REL8_4_4 and it looks
to me like there's no reference to SnapshotNow on line 1698.  That
line for me is blank, and the only reference I see to SnapshotNow is
on line 1715.

So I suspect that what you've got is a modified version of the sources
that is somehow messed up.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to