Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: DBI / DBD::PgPP vs. Pg

by davidrw (Prior)
on May 16, 2005 at 19:30 UTC ( [id://457535]=note: print w/replies, xml ) Need Help??


in reply to DBI / DBD::PgPP vs. Pg

Pg looks to be old (last update Apr 2000), so just off that DBD::PgPP is probably better. Do you have a specific reason for needing to use DBD::PgPP instead of DBD::Pg? I don't know for sure, but i would suspect that the latter is better (more robust & better supported), unless of course you need PgPP's ability to run where a PostgreSQL client library is not available.

Replies are listed 'Best First'.
Re^2: DBI / DBD::PgPP vs. Pg
by DaWolf (Curate) on May 16, 2005 at 19:35 UTC
Re^2: DBI / DBD::PgPP vs. Pg
by diotalevi (Canon) on May 16, 2005 at 23:51 UTC

    This logic, "looks to be old," therefore the other is "better," is flawed. There are plenty of modules on CPAN which do exactly what they are meant to do and have not required patches and thus remain "old." Another word for this is "stable."

    In this case, your invalid logic have lead you to the correct conclusion. So you're right in spite of yourself. Pg is a direct wrapper over the PostgreSQL C API. Recently, the PostgreSQL core team took over maintenance of DBD::Pg as well as Pg. They deprecated Pg in favor of DBD::Pg and it is the first and primary module you should use when interacting with PostgreSQL. The compatibility mode module DBD::PgPP was created by some other person and is useful if you can't use the standard DBD::Pg module.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://457535]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-07-14 02:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.