By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,852 Members | 2,220 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,852 IT Pros & Developers. It's quick & easy.

Changing access permissions without re-starting the database

P: n/a
Hi Forum,

Is there a way to change the database access permissions for different IP
addresses without having to re-start PostgreSQL? I often want to preclude
all IP address but one from accessing the database. Currently, I change the
pg_hba.conf file and re-start the database but I would like to be able to do
the same thing without having to re-start.

Thanks in advance for your response
Nov 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

On Oct 27, 2004, at 9:23 PM, Carlos wrote:
PostgreSQL?* I often want to preclude all IP address but one from
accessing the database.* Currently, I change the pg_hba.conf file and
re-start the database but I would like to be able to do the same thing
without having to re-start.


Try pg_ctl reload instead of pg_ctl restart

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

Nov 23 '05 #2

P: n/a
Thank you Michael. This should work

-----Original Message-----
From: pg*****************@postgresql.org
[mailto:pg*****************@postgresql.org] On Behalf Of Michael Glaesemann
Sent: Wednesday, October 27, 2004 9:27 AM
To: Carlos
Cc: 'p************@postgresql.org'
Subject: Re: [GENERAL] Changing access permissions without re-starting the
database
On Oct 27, 2004, at 9:23 PM, Carlos wrote:
PostgreSQL?* I often want to preclude all IP address but one from
accessing the database.* Currently, I change the pg_hba.conf file and
re-start the database but I would like to be able to do the same thing
without having to re-start.


Try pg_ctl reload instead of pg_ctl restart

Michael Glaesemann
grzm myrealbox com
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.