Re: OT - pg perl DBI question

Richard Huxton <dev@archonet.com>

From: Richard Huxton <dev@archonet.com>
To: Glyn Astill <glynastill@yahoo.co.uk>
Cc: CaT <cat@zip.com.au>, pgsql-general@postgresql.org
Date: 2008-01-29T13:25:21Z
Lists: pgsql-general
Glyn Astill wrote:
> well its using the pgsql_replication_check.pl, which does:
> 
> ----------------------
> use Pg;
> use Getopt::Std;

> 
> So I assume it's not getting past the use Pg line as although it's
> looking in /usr/lib/perl5 it's not going to look in
> /usr/lib/perl5/DBD ??

DBD::Pg is not the same as Pg.pm

perldoc DBD::Pg
perldoc Pg

I think it's libpg-perl that you want.

-- 
   Richard Huxton
   Archonet Ltd