I've uploaded two simple patches to DBD::Pg.

http://gborg.postgresql.org/project/dbdpg/patch/patchlist.php

The first patch simply reformats the POD allowing it to pass podchecker's tests and to be a bit easier to manage.

The second patches Makefile.PL to use my App::Info::RDBMS::PostgreSQL CPAN module to find the PostgreSQL libraries and includes. If the POSTGRES_INCLUDE and POSTGRES_LIB environment variables are set, it will of course still use them. If they're not, however, it'll use App::Info::RDBMS::PostgreSQL, which will do its best to find the PostgreSQL libraries and includes. If App::Info::RDBMS::PostgreSQL can't find them it will prompt for the location of pg_config. When the user has entered in the location of pg_config, App::Info::RDBMS::PostgreSQL will use it to find the relevant directories.

Since few people are likely to have App::Info installed at this point, I think it'd make sense to include the relevant classes in the DBD::Pg distribution. Any suggestions on a standard place to put them where make won't install them?

Best,

David

--
David Wheeler AIM: dwTheory
[EMAIL PROTECTED] ICQ: 15726394
http://david.wheeler.net/ Yahoo!: dew7e
Jabber: [EMAIL PROTECTED]

Reply via email to