Skip site navigation (1) Skip section navigation (2)

Re: postgresql perl connectivity

From: "Scot L(dot) Harris" <webid(at)cfl(dot)rr(dot)com>
To: Jay <jspothar(at)cs(dot)uccs(dot)edu>
Cc: postgresql <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgresql perl connectivity
Date: 2004-06-28 01:17:46
Message-ID: 1088385466.2150.23.camel@lathe (view raw or flat)
Thread:
Lists: pgsql-general
On Sun, 2004-06-27 at 21:05, Jay wrote:
> hi people
> i am trying to connect to ppstgresql on a debian system using perl . i 
> am getting the following error .can any one please suggest what has to 
> be done
> 
> 
> install_driver(pg) failed: Can't locate DBD/pg.pm in @INC (@INC 
> contains: /etc/perl /usr/local/lib/perl/5.8.3 
> /usr/local/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5 
> /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at 
> (eval 1) line 3.
> 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
> 
> 
>  thanks
> jay

I have not done much perl programming but it looks like you need to
install the CPAN DBD package.


-- 
Scot L. Harris <webid(at)cfl(dot)rr(dot)com>


In response to

Responses

pgsql-general by date

Next:From: Scot L. HarrisDate: 2004-06-28 01:30:40
Subject: Re: postgresql perl connectivity
Previous:From: JayDate: 2004-06-28 01:05:13
Subject: postgresql perl connectivity

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group