Re: PHP 4.0.4pl1 / Beta 5

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PHP 4.0.4pl1 / Beta 5
Дата
Msg-id 25052.982598560@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PHP 4.0.4pl1 / Beta 5  (Sascha Schumann <sascha@schumann.cx>)
Ответы Re: PHP 4.0.4pl1 / Beta 5  (Sascha Schumann <sascha@schumann.cx>)
Список pgsql-hackers
Sascha Schumann <sascha@schumann.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: AW: Re: beta5 ...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PHP 4.0.4pl1 / Beta 5