Unless I am mistaken (which actually happens quite often) DBI is the
base modue that perl uses.. the extension of that DBI::Pg (which is
called in the script) is postgres specific.  That is what I am using and
I am new to postgres but have been working with perl for 3-4 years and I
have found it very easy to use.

Travis

-----Original Message-----
From: Devinder K Rajput [mailto:Devinder.Rajput@;ipaper.com]
Sent: Thursday, October 24, 2002 12:05 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [NOVICE] pg or DBI


Hi all,

I have used pg to connect to postgres.  However, I have seen a lot of
people use DBI.  Are there any advantages/disadvantages in using one or
the
other for connecting to postgres via perl.  Also, which one is more
widely
used?  Thanks for your input.

Devinder Rajput
Stores Division Corporate Offices
Chicago, IL
(773) 442-6474



---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

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

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

Reply via email to