Re: postgres.h - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: postgres.h
Date
Msg-id 20031103214137.GE800@tishler.net
Whole thread Raw
In response to postgres.h  ("Nupur Pande" <npande@vt.edu>)
Responses Re: postgres.h
List pgsql-cygwin
Nupur,

On Mon, Nov 03, 2003 at 04:12:37PM -0500, Nupur Pande wrote:
> I'm trying to compile and run some external functions on postgres. The
> code seems to compile and run fine on linux machine. But on cygwin, it
> gave me errors saying it couldn't find some files such as
> "postgres.h", "server/executor/executor.h", "server/executor/spi.h"
>
> Could someone please tell me where to find these files. My
> /usr/include/postgresql/ only includes 1 folder called internal. I
> checked google for these files and it seems they should be in a folder
> ../postgresql/server But I don't see that in my directories. I have
> postgresql 7.3.4 installed.

When I package Cygwin PostgreSQL, I only do a "make install".  From
src/include/Makefile, we have the following:

    # 'make install' installs only those headers needed for client-side
    # programming.  'make install-all-headers' installs the whole
    # contents of src/include.

Hence, the short-term workaround is to download and unpack the source
tarball.

For the long-term, does anyone having any opinions on whether or not I
should include the "install-all-headers" headers too?

Thanks,
Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

pgsql-cygwin by date:

Previous
From: "Nupur Pande"
Date:
Subject: postgres.h
Next
From: Peter Eisentraut
Date:
Subject: Re: postgres.h