PEAR DB is a database abstraction layer for 13 of PHP's database drivers. The latest version has some fixes in the PostgreSQL driver.
For more information, see http://pear.php.net/package/DB
This post has been migrated from a previous version of the PostgreSQL website. We apologise for any formatting issues caused by the migration.