Re: DBI module for postgres 1.4.3

From: "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at>
To: "Jasbinder Singh Bali *EXTERN*" <jsbali(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: DBI module for postgres 1.4.3
Date: 2006-12-07 11:00:01
Message-ID: 52EF20B2E3209443BC37736D00C3C1380BC9789C@EXADV1.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jasbinder Singh Bali wrote:
>>> 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.
>
> Whats the difference between a module and a bundle as i can
> see while downloading DBI from CPAN website.
> What exactly needs to be downloaded . I'm kind of not sure about it.

I have never heard of a 'bundle' in context with Perl but that may
be because I know little about Perl.

DBI can be got from
http://www.cpan.org/modules/by-module/DBI/DBI-1.53.tar.gz
and DBD-Pg is on
http://www.cpan.org/modules/by-module/DBD/DBD-Pg-1.49.tar.gz

This is the source code.

Yours,
Laurenz Albe

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Hannes Dorbath 2006-12-07 11:42:52 Tsearch2 / PG 8.2 Which stemmer files?
Previous Message Henrik Zagerholm 2006-12-07 10:23:07 Re: pg_dump/pg_Restore 8.1.5 db -> 8.2 tsearch2 problem