Re: berkley sockets - Mailing list pgsql-general

From Chris Mair
Subject Re: berkley sockets
Date
Msg-id 1158140031.8405.25.camel@ultra.home.lan
Whole thread Raw
In response to Re: berkley sockets  ("J S B" <jsbali@gmail.com>)
List pgsql-general
On Wed, 2006-09-13 at 01:51 -0400, J S B wrote:

> I don't want to connect to the postgres database.
>
> The scenario is something like this.
>
> Postgres database has to initiate some deamon process running is
> another server.
> The only way i could think of doing this was openeing a socket
> connection between postgres database and
> the deamon process through a shared object dynamicall loaded in
> postgres.
>
> Berkley sockets is the socket API in unix that uses
> <sys/socket.h>
>
> Don't know if there's a better way to do it.

Is ist that you want to have a PG instance running on host A accepting
connections on host B?

Maybe you can use an SSH tunnel?

Bye, Chris.



--

Chris Mair
http://www.1006.org


pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Template1 oops
Next
From: "Brandon Aiken"
Date:
Subject: Re: [NOVICE] INSERT does not finish except if it is carried out a