Skip site navigation (1) Skip section navigation (2)

Re: dblink make fails under postgresql 8.4.4 on mac osx 10.4.11

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Gary Merkel <garymerkel(at)accugenix(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: dblink make fails under postgresql 8.4.4 on mac osx 10.4.11
Date: 2011-09-01 12:51:43
Message-ID: CA+TgmoauN++hcD4AM_gX7PJiEkehRZiUGwWajJhyDJHda11EPw@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Wed, Aug 31, 2011 at 9:45 AM, Gary Merkel <garymerkel(at)accugenix(dot)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

In response to

pgsql-hackers by date

Next:From: Kohei KaigaiDate: 2011-09-01 12:56:19
Subject: Re: [v9.1] sepgsql - userspace access vector cache
Previous:From: Robert HaasDate: 2011-09-01 12:40:31
Subject: Re: [v9.1] sepgsql - userspace access vector cache

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group