I have not used pg.pm, but I use DBI all the time. DBI has drivers for
most popular databases, including Postgres of course. All you do is
install DBI and the Postgres driver (the Postgres DBD), then you can
connect to any machine running Postgres. I don't have the URL of the DBI
page, but go to www.perl.com and lookup DBI.
On Thu, 18 Nov 1999, John Henderson wrote:
> Postgresql is installed on server moe and works just fine.
> I can access it using PHP scripts located on server moe or server bart.
> Pg.pm perl module is installed on server moe.
> I can access Postgres just fine using perl cgi's on moe.
> Isn't this a nice story?
> Now, I want to use a perl script on server bart to access my PG installation
> on server moe but to install the Pg module on bart requires that Postgresql
> be installed first.
> Ultimately, I want to use perl scripts spread all over the network to access
> the PG installation on one server only. I don't want to have to install
> postgres everywhere just to install the perl module.
> I'm sure this is really obvious...advice?
> John H
In response to
- at 1999-11-18 23:25:20 from John Henderson
pgsql-interfaces by date
|Next:||From: John Henderson||Date: 1999-11-18 23:25:20|
|Previous:||From: Sergio A. Kessler||Date: 1999-11-18 21:18:16|