Обсуждение: Changing access permissions without re-starting the database

Поиск
Список
Период
Сортировка

Changing access permissions without re-starting the database

От
Carlos
Дата:

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

Re: Changing access permissions without re-starting the database

От
Michael Glaesemann
Дата:
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


Re: Changing access permissions without re-starting the database

От
"Carlos Oliva"
Дата:
Thank you Michael.  This should work

-----Original Message-----
From: pgsql-general-owner@postgresql.org
[mailto:pgsql-general-owner@postgresql.org] On Behalf Of Michael Glaesemann
Sent: Wednesday, October 27, 2004 9:27 AM
To: Carlos
Cc: 'pgsql-general@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 majordomo@postgresql.org