DBD-Pg is the DBI PostgreSQL interface for Perl. This requires perl5, DBI, PostgreSQL, and Test::Simple. PostgreSQL is available on SBo, the others are included with perl5 in Slackware-13.0.