D. Dante Lorenso wrote:
>
> I'm getting confused between the methods of connectivity with PERL.
> Right now I'm accessing several MySQL tables using DBI/DBD. However,
> I'd like to convert these programs into PostgreSQL apps. So, I'm
> assuming that since I used DBI (a common database connection format)
> that I'd only have to change the connect string to point to the
> PostgreSQL source rather than MySQL and all should be good.
Since DBI uses a different DBD for every database, you should get
the DBD for PostgreSQL (DBD:Pg) from your local perl archive...
This DBD really should be in the distribution.
> So, what is Pg.pm? and how is that connected (if at all) to DBI?
Pg.pm is not in any way connected to DBI. It is marginally faster
than DBI, but you loose the ability to choose between different
databases.
/* m */