$PGSQL/include/postgres.h - Mailing list pgsql-general

From Jim Mercer
Subject $PGSQL/include/postgres.h
Date
Msg-id 20010523143609.B29916@reptiles.org
Whole thread Raw
Responses Re: $PGSQL/include/postgres.h
List pgsql-general
did this recently go away?

recently i decided to upgrade some stuff from pgsql 6.x to 7.1.2 and
am trying to build php.

it does not appear that there is a /usr/local/pgsql/include/postgres.h
any more.

according to the ChangeLogs:

 "there are now
  separate files "postgres.h" and "postgres_fe.h", which are meant to
  be the primary include files for backend .c files and frontend .c
  files respectively.  By default, only include files meant for
  frontend use are installed into the installation include directory."

is it my understanding that postgres.h is only supposed to be used by
server/backend code?

if so, this decision could cause a good chunk of existing code to break.

--
[ Jim Mercer        jim@reptiles.org         +1 416 410-5633 ]
[ Now with more and longer words for your reading enjoyment. ]

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Porting from Ms srvr2K to PostgreSQL
Next
From: Robert
Date:
Subject: Sessions with Postgres