Thread: Perl postgres question

Perl postgres question

From
"Williams, Travis L, NPONS"
Date:
One more question.. what module(s) are you guys using to access postgres
from perl??

Travis

Re: Perl postgres question

From
harrold@sage.che.pitt.edu
Date:
i know the following work:

DBI-1.18
DBD-Pg-1.00


--
john

Sometime in June Williams, Travis L, NPONS assaulted keyboard and produced...

|One more question.. what module(s) are you guys using to access postgres
|from perl??
|
|Travis
|
|---------------------------(end of broadcast)---------------------------
|TIP 5: Have you checked our extensive FAQ?
|
|http://www.postgresql.org/users-lounge/docs/faq.html
|


RE: Perl postgres question

From
"Chuck Kimber"
Date:
Perl DBI + DBD:Pg driver is the most widely used, and probably the best way.

Chuck

-----Original Message-----
From: pgsql-novice-owner@postgresql.org
[mailto:pgsql-novice-owner@postgresql.org]On Behalf Of Williams, Travis
L, NPONS
Sent: Wednesday, June 20, 2001 11:09 AM
To: pgsql-novice@postgresql.org
Subject: [NOVICE] Perl postgres question


One more question.. what module(s) are you guys using to access postgres
from perl??

Travis

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Re: Perl postgres question

From
Lukas Ertl
Date:
On Wed, 20 Jun 2001, Williams, Travis L, NPONS wrote:

> One more question.. what module(s) are you guys using to access postgres
> from perl??

DBI and DBD::Pg.

regards,
le

--
Lukas Ertl                          eMail: l.ertl@univie.ac.at
WWW-Redaktion                       Tel.:  (+43 1) 4277-14073
Zentraler Informatikdienst (ZID)    Fax.:  (+43 1) 4277-9140
der Universität Wien


Re: Perl postgres question

From
Ryan Ho
Date:
At 12:08 PM 6/20/01 -0500, Williams, Travis L, NPONS wrote:
>One more question.. what module(s) are you guys using to access postgres
>from perl??
>
>Travis


I use the Pg module. I couldn't get DBI to work, perhaps due to my lack of
skill.

Ryan


Re: Perl postgres question

From
Danny Aldham
Date:
>
> At 12:08 PM 6/20/01 -0500, Williams, Travis L, NPONS wrote:
> >One more question.. what module(s) are you guys using to access postgres
> >from perl??
> >Travis
>
> I use the Pg module. I couldn't get DBI to work, perhaps due to my lack of
> skill.

I use the DBI module, and really recommend it. If you use Pg to code,
and later want to change the underlying database, you will need to
recode the whole project. If you use DBI, you may get away with
changing just one line.

--
Danny Aldham     Providing Certified Internetworking Solutions to Business
www.postino.com  E-Mail, Web Servers, Web Databases, SQL PHP & Perl

Re: Perl postgres question

From
harrold@sage.che.pitt.edu
Date:

Sometime in June Danny Aldham assaulted keyboard and produced...

|>
|> At 12:08 PM 6/20/01 -0500, Williams, Travis L, NPONS wrote:
|> >One more question.. what module(s) are you guys using to access postgres
|> >from perl??
|> >Travis
|>
|> I use the Pg module. I couldn't get DBI to work, perhaps due to my lack of
|> skill.
|
|I use the DBI module, and really recommend it. If you use Pg to code,
|and later want to change the underlying database, you will need to
|recode the whole project. If you use DBI, you may get away with
|changing just one line.

assuming you use standard sql in your selects and stuff. i really like
alot of postgreses operators. so in reality you would probably have to
change more than one line, but not nearly as much if you use only the pg
module.

--
john