Re: DBI module for postgres 1.4.3 - Mailing list pgsql-general

From Albe Laurenz
Subject Re: DBI module for postgres 1.4.3
Date
Msg-id 52EF20B2E3209443BC37736D00C3C1380BBCE68E@EXADV1.host.magwien.gv.at
Whole thread Raw
In response to DBI module for postgres 1.4.3  ("Jasbinder Singh Bali" <jsbali@gmail.com>)
Responses Re: DBI module for postgres 1.4.3  ("Jasbinder Singh Bali" <jsbali@gmail.com>)
List pgsql-general
> Trying to connect to it throught perl code.
> Just wondering if DBI would be the best tool to use to
> accomplish this task.
> Which version of DBI should I be using.
> I mean if any one of you could give me exact pointers to it,
> would be highly appreciated.

Yes, perl(DBI) is the canonical way to connect to a database
from Perl. You will need the DBD::Pg driver too.
Both modules can be obtained from CPAN (e.g. http://www.cpan.org),
maybe there are even binary packages for your operating
system available.
I'd use the latest stable version.

Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: Shane Ambler
Date:
Subject: Re: Version 8.1
Next
From: "Albe Laurenz"
Date:
Subject: Re: Unsuccessful SIGINT