Re: [INTERFACES] Date: Fri, 19 Nov 1999 11:25:20 +1200

Поиск
Список
Период
Сортировка
От Jason Earl
Тема Re: [INTERFACES] Date: Fri, 19 Nov 1999 11:25:20 +1200
Дата
Msg-id 383573BC.7FFBB16C@box100.com
обсуждение исходный текст
Ответ на  ("John Henderson" <jrh@is.com.fj>)
Ответы Re: [INTERFACES] Date: Fri, 19 Nov 1999 11:25:20 +1200  ("Hossein S. Zadeh" <hossein@bf.rmit.edu.au>)
Список pgsql-interfaces
John Henderson wrote:
> 
> Hi,
> 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?

It's a great story.  Is there a sequel (SQL :)?

> 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.

All you actually need is the library and include files.  Copy them over
from moe.  If you followed the default install they should be in
/usr/local/pgsql/lib and /usr/local/pgsql/include.  Installing shared
libraries is a little different for each platform, but the fact that you
got these libraries to work on moe is generally a good sign.

> 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.

If you have the libraries properly installed you should be able to
simply copy the relevant parts of your Perl installation over as well. 
A couple of tarballs should be all you need.

Heck, if you are really ambitious it shouldn't be _too_ hard to roll
your own RPM or deb file (assuming of course you are using Linux or a
platform that uses RPM or deb files).

> I'm sure this is really obvious...advice?
> John H

Good Luck,
Jason


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Oscar Serrano
Дата:
Сообщение: Re: [INTERFACES] ResultSet.getDate
Следующее
От: Wayne Liang
Дата:
Сообщение: Problem with compiling programs