Sascha Schumann <[EMAIL PROTECTED]> 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

Reply via email to