DBD-Pg is the DBI PostgreSQL interface for Perl.