473,386 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Disabling or forwarding external connections

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.

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?

Thanks for your help!
Hisham

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 12 '05 #1
1 1436
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

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Anu | last post by:
Hi everyone, I have just joined the group. I need your expert comments on my problem urgently. I am trying to establish SSH forwarding for establishing connections from my web server (obsgeosn) to...
4
by: David | last post by:
Hi, I'm writing some code at the moment where I would like to make use of inheritance from a base class to avoid lots of re-coding in various child classes sharing very similar interfaces. ...
6
by: Adam Monsen | last post by:
It would be helpful to be able to temporarily disable AF_INET socket connections (I don't care about IPv6 for now). What I'd like to do is create an environment for a Python script that appears...
9
by: Paul Keegstra | last post by:
Hi, I am currently working on an asp.net 2.0 web site that is a replacement of a classic asp web site. The current web site uses a Commerce Server 2002 database for storing user information. ...
0
by: Tom P | last post by:
I'm using System.Configuration in .NET 2.0 to load in values from an externally specified config file and deserialize them into a C# class. During deserialization, I'm getting an exception thrown...
2
by: Uncle Sam | last post by:
Hello, Is there anyway.. we can disable AUTOCOMMIT option in MSSQL server while executing the SQL queries via SQL ANALYZER
6
by: mcl | last post by:
I have a domain name which is set up for web forwarding with a frame. I have a link on one of the site's pages to an external site. When I select the link the external site is displayed correctly...
7
by: kashhere | last post by:
Hi all i am working on a site in which user need to be in same page when the user clicks on back button Its working in IE, Chrome but not in firefox in firefox when i click on the back...
0
by: themadjester | last post by:
I am renting (or owning?) a domain name for 15/year. When I first got the domain I did not have too many problems forwarding the DNS to my old desktop, which runs apache. Now since then I have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.