On Mon, 29 Apr 2002, Jeffrey Baker wrote:

> I proposed this in the release announcement for version 1.10 of
> DBD::Pg.  The problem, as I see it, is these functions are only in
> version 7.1 and higher of Pg.  So we would be effectively cutting
> off everyone else.  I plan to release a DBD::Pg 2, which will
> support only 7.1 and greater, and continue to maintain DBD::Pg 1,
> for all the systems it already supports.

The version number is available in the pg_config.h file.  I'm not sure how
you'd get at it from C, since it's in the form 7.2.1.  Of course, it'd be
easy to quickly parse this with Perl and then tweak the generated XS code
or simply set a define for compilation.


-dave

/*==================
www.urth.org
we await the New Sun
==================*/

Reply via email to