Re: Proxy Server ... - Mailing list pgsql-general

From Sean Chittenden
Subject Re: Proxy Server ...
Date
Msg-id 20020624232246.H30655@ninja1.internal
Whole thread Raw
In response to Re: Proxy Server ...  ("Marc G. Fournier" <scrappy@hub.org>)
Responses Re: Proxy Server ...
List pgsql-general
> > > does anyone know of a proxy server that i can run on a server to
> > > "pretend" its a postgresql server?  so that I can connect to
> > > IP:port and have it establish a connection to IP:5432?
> >
> > [ scratches head ] Why don't you just start the postmaster
> > listening to the other port instead of 5432?  Seems like a proxy
> > inside the jail wouldn't really do anything the postmaster itself
> > wouldn't do.
> >
> > Possibly setting VIRTUAL_HOST would help too, if the problem is
> > that the postmaster is trying to bind to addresses it's not
> > allowed to.
>
> Not possible to run a postmaster inside of the jail itself, which
> would *really* simplify things :(

Do you know what part of postgresql doesn't work inside of a jail?

As someone suggested, ipfw fwd _should_ do the trick.  I'd be curious
as to why it wouldn't.  -sc

--
Sean Chittenden



pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Object Oriented Representation in PostgreSQL
Next
From: Curt Sampson
Date:
Subject: Re: postgresql to support 50GB of data?