(1) The perl DBD module is not included with the RedHat distribution
for postgresql. I'm sure there are people there who regard this as
a non-issue, but I'd argue that postgres is incomplete without it.
Very few people messing with postgresql are going to be happy using
it standalone via pgaccess, and perl is arguably the most popular
database interface language at the moment. Integrating the pieces that
people are likely to want to use is what distributions are about, right?
(2) As I understand it, the latest available RPM for this
is way out of date, compiled against the libpq.so.1 library in use
for postgresql 6.3, which was included with RedHat 5.x.
I'm refering to perl-DBD-Pg-0.91-1.i386.rpm, which was packaged by
Ian Macdonald <ianmacd>.
Once again, I'm sure some people's first reaction is "not our problem",
but that brings us back to point (1). (2) might not have fallen
through the cracks if not for (1).
In any case, both Ian Macdonald <ianmacd> and Lamar Owen
<lamar.owen> (who has been handing the postgresql RPM
of late) have been notified of the problem.
The latest perl-DBD-Pg rpm is available on the RedHat PowerTools collection CPAN
archive, mirrored at rufus.w3.org and others in
'powertools/CPAN/CPAN_rev.2/i386', as posted to the postgresql-hackers mailing
list by Ian MacDonald (many thanks, Ian!). The rpmfind.net web interface does
not show the CPAN archive, unfortunately.
perl-DBI and perl-DBD are not part of postgresql proper, and thus are not
included in the postgresql RPM's. Why they weren't included in RedHat proper is
a question that I cannot answer.
However, the postgresql-perl package does provide a perl client, although it is
not the DBI/DBD one.
WGCR Internet Radio
This problem appears to be resolved.