Re: Suitable Driver ? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Suitable Driver ?
Date
Msg-id 10403.1002817482@sss.pgh.pa.us
Whole thread Raw
In response to Suitable Driver ?  ("Balaji Venkatesan" <balaji.venkatesan@megasoft.com>)
List 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


pgsql-hackers by date:

Previous
From: Lee Kindness
Date:
Subject: Btree index ignored on SELECT until VACUUM ANALYZE
Next
From: Bruce Momjian
Date:
Subject: Re: syslog by default?