Re: postgres.h - Mailing list pgsql-cygwin

From Nupur Pande
Subject Re: postgres.h
Date
Msg-id 009401c3a259$4b0a2150$6500a8c0@RANIKHET
Whole thread Raw
In response to Re: COPY error  (Claudio Natoli <claudio.natoli@memetrics.com>)
Responses Re: postgres.h
List pgsql-cygwin
Is there any specific location where I should untar the files?

Thanks,
Nupur

----- Original Message -----
From: "Jason Tishler" <jason@tishler.net>
To: "Nupur Pande" <npande@vt.edu>
Cc: <pgsql-cygwin@postgresql.org>
Sent: Monday, November 03, 2003 4:41 PM
Subject: Re: [CYGWIN] postgres.h


> 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: Peter Eisentraut
Date:
Subject: Re: postgres.h
Next
From: "Dave Page"
Date:
Subject: Re: postgres.h