Re: when does postgresql read from pg_hba.conf ??

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: when does postgresql read from pg_hba.conf ??
Дата
Msg-id 20100426153851.GA3963@alvh.no-ip.org
обсуждение исходный текст
Ответ на when does postgresql read from pg_hba.conf ??  (Julius Tuskenis <julius@nsoft.lt>)
Ответы Re: when does postgresql read from pg_hba.conf ??  (Julius Tuskenis <julius@nsoft.lt>)
Список pgsql-admin
Julius Tuskenis wrote:
> Hello, list
>
> from the postgresql documentation I know, that "The pg_hba.conf file
> is read on start-up and when the main server process receives a
> SIGHUP signal. If you edit the file on an active system, you will
> need to signal the server (using pg_ctl reload or kill -HUP) to make
> it re-read the file."
>
> But there have been an incident this Saturday that indicates, that
> these are not the only triggers for reading pg_hba.conf. One of our
> clients edited pg_hba.conf that day (not correctly I must add), but
> neither restarted nor reloaded the postgresql (logs below confirm
> that). Anyway at some point the system started using the newly
> edited file causing some problems. What could cause the pg_hba.conf
> to be read by postgresql ?

Hmm, isn't the file read every time a backend starts on Windows?
This would explain the problem if the file was edited between 13:56:45
and 13:57:38.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

В списке pgsql-admin по дате отправления:

Предыдущее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: Installation issue
Следующее
От: Julius Tuskenis
Дата:
Сообщение: Re: when does postgresql read from pg_hba.conf ??