Re: postgres.h missing? (fwd)

From: Vince Vielhaber <vev(at)michvhf(dot)com>
To: "Thalis A(dot) Kalfigopoulos" <thalis(at)cs(dot)pitt(dot)edu>
Cc: <pgsql-general(at)postgresql(dot)org>, <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: postgres.h missing? (fwd)
Date: 2001-06-20 16:17:13
Message-ID: Pine.BSF.4.30.0106201215190.33953-100000@paprika.michvhf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 20 Jun 2001, Thalis A. Kalfigopoulos wrote:

> Hi tom, (erased your reply by accident :(
> I asked about this yesterday but I don't need postgres.h for building PHP. I need it for writing a C function.
> So do I just copy it manually from src/include/ ?

add -I/usr/local/pgsql/include and -L/usr/local/pgsql/lib

as appropriate in your makefile or compile script (or environment)
and they'll be picked up automatically.

Adjust the path to where your PostgreSQL installation is as necessary.

Vince.

>
> TIA,
> thalis
>
> ---------- Forwarded message ----------
> Date: Tue, 19 Jun 2001 18:04:56 -0400 (EDT)
> From: Thalis A. Kalfigopoulos <thalis(at)cs(dot)pitt(dot)edu>
> To: pgsql-general(at)postgresql(dot)org
> Subject: postgres.h missing?
>
> I can see in the source dir the include file postgres.h (src/include/postgres.h) but it doesn't exist under the installation dir (under include I only have postgres_ext.h and _fe.h).
> Located a related article (http://faqchest.dynhost.com/prgm/pgsql-l/pgsql-01/pgsql-0104/pgsql-010404/pgsql01040314_23260.html) which implies that at least for the php build, postgres_fe.h should do just fine (even though the opening comments in postgres_fe.h suggest that postgres.h should be in the same dir and used instead)
>
> Did I miss building something or should I use postgres_fe.h instead?
>
> TIA,
> thalis
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl
>

--
==========================================================================
Vince Vielhaber -- KA8CSH email: vev(at)michvhf(dot)com http://www.pop4.net
56K Nationwide Dialup from $16.00/mo at Pop4 Networking
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message tom 2001-06-20 16:22:26 RE: Web site gripes
Previous Message Vince Vielhaber 2001-06-20 15:19:41 Re: Web site gripes