| От | Doug McNaught |
|---|---|
| Тема | Re: best method of reloading pg_hba.conf |
| Дата | |
| Msg-id | m3g07nqzal.fsf@belphigor.mcnaught.org обсуждение |
| Ответ на | Re: best method of reloading pg_hba.conf (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Список | pgsql-hackers |
Hannu Krosing <hannu@tm.ee> writes: > Bruce Momjian wrote: > > > > > Is the best method of reloading pg_hba.conf to SIGHUP the master process? > > > > In 7.2, yes, pg_ctl restart or SIGHUP. On 7.1.X pg_hba.conf is reread > > on every connection request. > > Why was it changed ? I think to give the admin control over when it gets reread. Say it's being automatically generated by a cron job for some reason, and a connection request comes in while it's being written--the backend would get a corrupted version of the file. (Or if a text editor's in the midst of saving it). -Doug -- Let us cross over the river, and rest under the shade of the trees. --T. J. Jackson, 1863
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера