Re: postgresql perl connectivity - Mailing list pgsql-general

From Richard Huxton
Subject Re: postgresql perl connectivity
Date
Msg-id 40DFE0DF.4030908@archonet.com
Whole thread Raw
In response to Re: postgresql perl connectivity  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List 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

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Plperlu and sending emails, is it safe?
Next
From: Pavel Stehule
Date:
Subject: is win1250 supported encoding for PG7.5?