469,903 Members | 2,122 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,903 developers. It's quick & easy.

Changing access permissions without re-starting the database

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
2 2854

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
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.

Similar topics

1 post views Thread by Jody Gelowitz | last post: by
39 posts views Thread by Marcin Zmyslowski | last post: by
6 posts views Thread by Dave Keen | last post: by
2 posts views Thread by Day | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.