| From: | Michael Fuhr <mike(at)fuhr(dot)org> |
|---|---|
| To: | Jasbinder Bali <jsbali(at)gmail(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Shared Objects (Dynamic loading) |
| Date: | 2006-08-27 21:44:01 |
| Message-ID: | 20060827214401.GA38528@winnie.fuhr.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-novice |
On Sun, Aug 27, 2006 at 05:13:25PM -0400, Jasbinder Bali wrote:
> Can you please give me pointers to how to establish clinet server model
> using PL/Perl.
> I mean how do i give the ip address of the database server in my Perl script
> running in another machine.
DBI is a Perl module for connecting to databases; to connect to a
PostgreSQL database you'll also need DBD::Pg. If you have those
modules installed then use a command like "man DBI" or "perldoc
DBI" (or however you read documentation on your system) for more
information.
Are you creating a PL/Perl function in one database that needs to
connect to a different database? What exactly are you trying to
do?
--
Michael Fuhr
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Geoffrey | 2006-08-28 00:40:53 | Re: Shared Objects (Dynamic loading) |
| Previous Message | Jasbinder Bali | 2006-08-27 21:13:25 | Re: Shared Objects (Dynamic loading) |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Geoffrey | 2006-08-28 00:40:53 | Re: Shared Objects (Dynamic loading) |
| Previous Message | Jasbinder Bali | 2006-08-27 21:13:25 | Re: Shared Objects (Dynamic loading) |