Re: postgresql perl connectivity

From: Richard Huxton <dev(at)archonet(dot)com>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Jay <jspothar(at)cs(dot)uccs(dot)edu>, pgsql-general(at)postgresql(dot)org
Subject: Re: postgresql perl connectivity
Date: 2004-06-28 09:11:59
Message-ID: 40DFE0DF.4030908@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alvaro Herrera 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 ...

It does indeed, since the module-name is the same is its filename and
unix has case-sensitive file-systems (hmm - what would happen on Windows?)

Jay - a quick tip with these is that "perldoc DBD::Pg" will show the
docs for the module in question, or an error if it can't find the module.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2004-06-28 11:29:34 is win1250 supported encoding for PG7.5?
Previous Message Richard Huxton 2004-06-28 09:06:39 Re: Plperlu and sending emails, is it safe?