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
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Bruce Momjian
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Larry Rosenman
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Sascha Schumann
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Larry Rosenman
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Sascha Schumann
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Larry Rosenman
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Sascha Schumann
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Tom Lane
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Bruce Momjian
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Sascha Schumann
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Tom Lane
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Sascha Schumann
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Larry Rosenman
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Tom Lane
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Larry Rosenman
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Larry Rosenman
- old include files (was Re: [HACKERS] PHP 4.0.4pl1 / B... Tom Lane
- Re: old include files (was Re: [HACKERS] PHP 4.0.4pl1... Lamar Owen
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Larry Rosenman
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Tom Lane
- Re: [HACKERS] PHP 4.0.4pl1 / Beta 5 Bruce Momjian