Re: Suitable Driver ?

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Balaji Venkatesan" <balaji.venkatesan@megasoft.com>
Cc: pgsql-hackers@postgresql.org
Date: 2001-10-11T16:24:42Z
Lists: pgsql-hackers
"Balaji Venkatesan" <balaji.venkatesan@megasoft.com> writes:
>         I have installed latest DBI from www.cpan.org
>         Now i need to install DBD For PGSQL .Is
>         this the driver i have to work on for pgsql ?.

If you want to use DBI then you should get the DBD::Pg driver from
CPAN.  (Yes, it is on CPAN, even though their index page about DBD
modules didn't list it last time I looked.)

>         I need to exactly know the difference between
>         use Pg ; and use DBI ; Need to which one is

Pg is a older stand-alone driver; it's not DBI-compatible,
and it's got nothing to do with DBD::Pg.

			regards, tom lane