Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> wrote:
>
> On Sun, Jun 27, 2004 at 07:05:13PM -0600, Jay wrote:
>
> > Perhaps the DBD::pg perl module hasn't been fully installed,
> > or perhaps the capitalisation of 'pg' isn't right.
> > Available drivers: ExampleP, Pg, Proxy, Sponge, mysql.
> > at psqldb.pl line 10
>
> So, did you try using the Pg driver rather than pg ? It seems in this
> case capitalisation matters ...
Indeed it does. The module is DBD::Pg, *not* DBD::pg.
use DBI:
$dbh = DBI->connect("dbi:Pg:dbname=$dbName", $dbUser, $dbPass, [...]);
Jim