Re: berkley sockets

From: Chris Mair <chrisnospam(at)1006(dot)org>
To: J S B <jsbali(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: berkley sockets
Date: 2006-09-13 09:33:51
Message-ID: 1158140031.8405.25.camel@ultra.home.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matthieu Guamis 2006-09-13 10:15:13 Re: INSERT does not finish except if it is carried out a
Previous Message Alban Hertroys 2006-09-13 08:56:41 Template1 oops