Re: PHP 4.0.4pl1 / Beta 5

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sascha Schumann <sascha(at)schumann(dot)cx>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Larry Rosenman <ler(at)lerctr(dot)org>, Mitch Vincent <mitch(at)venux(dot)net>, PostgreSQL Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PHP 4.0.4pl1 / Beta 5
Date: 2001-02-19 16:02:40
Message-ID: 25052.982598560@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Sascha Schumann <sascha(at)schumann(dot)cx> writes:
> It'd be cool, if PostgreSQL and/or the C front-end would have
> a numeric version indicator which we could use to check for
> features, etc.

> #include <libpq-fe.h>
> #if defined(PGSQL_FE_VERSION) && PGSQL_FE_VERSION < 20010210
> # include <postgres.h>
> #endif

AFAIK there is no need for you to be including <postgres.h> in *any*
Postgres release --- it's supposed to be an internal header file,
not something that client applications need. Try it with just
#include <libpq-fe.h>

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-02-19 16:07:34 Re: PHP 4.0.4pl1 / Beta 5
Previous Message Tom Lane 2001-02-19 15:58:32 Re: floating point representation