|
From: Nicolas L. <nla...@pe...> - 2001-08-01 19:09:18
|
Well. I have DBI installed. And Pg. Still no dice. See my just posted
Subject "Pg not the problem" on the list. Hrmph. This is driving me nuts.
----- Original Message -----
From: "Thomas Good" <to...@ad...>
To: <sql...@li...>
Sent: Wednesday, August 01, 2001 2:03 PM
Subject: Re: DBD::Pg...what I need?
> On Wed, 1 Aug 2001, Nicolas Lafferty wrote:
>
> > Is there a difference between DBD-Pg and DBD::Pg. I thought that they
where
> > the same. But if not, that's why i can't get the program working.
> >
> > Nick Lafferty
>
> Hey Nick,
>
> DBD::Pg looks like a fully qualified package::variable...
>
> DBI is the toplevel perl module for database access, it is generic.
> Into it you plug 'drivers' that are specific to the various SQL
> implementations. So to run sql-ledger you'd need the DBI module
> which is available from CPAN as: DBI-version_number.tar.gz
>
> You'd also need DBD-Pg:
> DBD-Pg is the driver used in accessing Pg from perl routines that
> use a type of syntax similar to ESQL/C. Not to muddy the waters
> but Edmund Mergl has two different modules to access Pg databases
> and DBD-Pg is the one designed for DBI that has more familiar
> syntax...at least more familiar to me! ;-)
>
> DBD::Pg is a Package Name::variable so it does not refer to a
> downloadable module. I expect you want a module that looks like:
> DBD-Pg-0.95.tar.gz or something similar (newer version number perhaps).
>
> Cheers,
> Tom
>
> --------------------------------------------------------------------
> SVCMC - Center for Behavioral Health
> --------------------------------------------------------------------
> Thomas Good tomg@ { admin | q8 } .nrnet.org
> Programmer/Analyst Phone: 718-354-5528
> Residential Services Mobile: 917-282-7359
> --------------------------------------------------------------------
> /* Die Wahrheit Ist Irgendwo Da Draussen... */
> --------------------------------------------------------------------
>
>
>
|