Re: Driver Frustration// Perl DBI

Поиск
Список
Период
Сортировка
От Doug Silver
Тема Re: Driver Frustration// Perl DBI
Дата
Msg-id 200301171430.13520.dsilver@urchin.com
обсуждение исходный текст
Ответ на Driver Frustration// Perl DBI  (Cheryl Thompson <cthompso@ci.irving.tx.us>)
Список 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 по дате отправления:

Предыдущее
От: douggorley@shaw.ca
Дата:
Сообщение: Re: Driver Frustration// Perl DBI
Следующее
От: Keith Keller
Дата:
Сообщение: Re: Driver Frustration// Perl DBI