Re: Driver Frustration// Perl DBI

From: Doug Silver <dsilver(at)urchin(dot)com>
To: Cheryl Thompson <cthompso(at)ci(dot)irving(dot)tx(dot)us>, "'pgsql-novice(at)postgresql(dot)org'" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Driver Frustration// Perl DBI
Date: 2003-01-17 22:29:51
Message-ID: 200301171430.13520.dsilver@urchin.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message ghaverla 2003-01-17 22:34:36 Re: Driver Frustration// Perl DBI
Previous Message Keith Keller 2003-01-17 22:27:02 Re: Driver Frustration// Perl DBI

Browse pgsql-novice by date

  From Date Subject
Next Message douggorley 2003-01-17 22:31:04 Re: Driver Frustration// Perl DBI
Previous Message Keith Keller 2003-01-17 22:27:02 Re: Driver Frustration// Perl DBI