Re: Driver Frustration// Perl DBI - Mailing list pgsql-novice

From Doug Silver
Subject Re: Driver Frustration// Perl DBI
Date
Msg-id 200301171430.13520.dsilver@urchin.com
Whole thread Raw
In response to Driver Frustration// Perl DBI  (Cheryl Thompson <cthompso@ci.irving.tx.us>)
List pgsql-novice
On Friday 17 January 2003 02:14 pm, Cheryl Thompson wrote:
> I'm working with Postgresql to implement a DB on the Web.
> After discovering that Dreamweaver UD 4 does not support Posgres, even
> thought I'm running Postgresql through an ODBC, I went on to Perl.
>
> The latest Perl DBI interface I can find on CPAN is dated 1998 and is for
> PostGre95.
>
> Is there an up to date Perl DBI for Postgresql? When can I find it? (it's
> NOT in CPAN!).
>
> Thanks,
> Cheryl
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

Hi Cheryl -

You should use DBI + DBD-Pg-1.12 module like so:

   use DBI;
   $dbh = DBI->connect("dbi:Pg:dbname=$database",$user,$password);


-- Doug


pgsql-novice by date:

Previous
From: douggorley@shaw.ca
Date:
Subject: Re: Driver Frustration// Perl DBI
Next
From: Keith Keller
Date:
Subject: Re: Driver Frustration// Perl DBI