Skip site navigation (1) Skip section navigation (2)

Re: Perl postgres question

From: harrold(at)sage(dot)che(dot)pitt(dot)edu
To:
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Perl postgres question
Date: 2001-06-21 14:30:25
Message-ID: Pine.LNX.4.21.0106211029050.11347-100000@sage.che.pitt.edu (view raw or flat)
Thread:
Lists: pgsql-novice

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




In response to

pgsql-novice by date

Next:From: Bo LorentsenDate: 2001-06-21 14:37:49
Subject: Rerefences to derived rows
Previous:From: Danny AldhamDate: 2001-06-21 14:18:21
Subject: Re: Perl postgres question

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group