Re: Driver Frustration// Perl DBI

Doug Silver <dsilver@urchin.com>

From: Doug Silver <dsilver@urchin.com>
To: Cheryl Thompson <cthompso@ci.irving.tx.us>, "'pgsql-novice@postgresql.org'" <pgsql-novice@postgresql.org>
Date: 2003-01-17T22:29:51Z
Lists: pgsql-general, 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