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?

Thanks for any help.

Gary

Search Discussions

  • Robert Haas at Sep 1, 2011 at 12:51 pm

    On Wed, Aug 31, 2011 at 9:45 AM, Gary Merkel 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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-hackers @
categoriespostgresql
postedAug 31, '11 at 1:52p
activeSep 1, '11 at 12:51p
posts2
users2
websitepostgresql.org...
irc#postgresql

2 users in discussion

Gary Merkel: 1 post Robert Haas: 1 post

People

Translate

site design / logo © 2021 Grokbase