Re: Disabling or forwarding external connections - Mailing list pgsql-general

From Marco van Tol
Subject Re: Disabling or forwarding external connections
Date
Msg-id pan.2003.12.10.18.13.24.215411@tols.org
Whole thread Raw
In response to Disabling or forwarding external connections  ("Hisham Al-Shurafa" <halshurafa@rim.net>)
List pgsql-general
On Wed, 10 Dec 2003 11:50:25 -0500, Hisham Al-Shurafa wrote:

> Hello, I've searched the archives and docs for an answer to my question,
> but did not find anything, so I was hoping someone can answer this
> question or point me to a useful doc:
>
> Is there a way in PostGreSQL to temporarily disable any external
> connections (or just disable external writes) to a certain database,
> without having to restart the postmaster? Local connections to the
> database would still be allowed.

I am not sure, but a thought that crossed my mind is that you can have a
firewall on the database server firewall off all connections you don't
want for the moment. I figured it wouldn't hurt posting this, ignore it if
it's useless. ;-) (Make sure that there are no active connections when
enabling the firewall)

> Better yet, is there a way to transparently forward connections from
> clients to another database?  For example, client connects to db A but
> the postmaster really connects him to db B?

That a firewall should be able to do as well, with new connections at
least. :)

> Thanks for your help!

Hope it is! :-)

--
Marco van Tol


pgsql-general by date:

Previous
From: "Rick Gigger"
Date:
Subject: TIP 7: don't forget to increase your free space map settings
Next
From: "Joe \"Nuke Me Xemu\" Foster"
Date:
Subject: Re: Making a tree with "millions and millions" of dynamic nodes