| От | Tom Lane |
|---|---|
| Тема | Re: Problem with reloading groups in pg_hba.conf |
| Дата | |
| Msg-id | 27889.1016728318@sss.pgh.pa.us обсуждение |
| Ответ на | Problem with reloading groups in pg_hba.conf (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: Problem with reloading groups in pg_hba.conf
|
| Список | pgsql-hackers |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> The problem is when to retokenize pg_hba.conf after a new pg_group is
> made. Seems I can either force administrators to 'pg_ctl reload' to
> update for group changes, or automatically retokenize pg_hba.conf every
> time I update pg_group.
Why exactly are you looking to reinvent the wheel, rather than doing
it the same way we currently handle pg_shadow updates? Send the
postmaster a signal when you modify the flat file, and it can reread
the file on receipt of the signal. See SendPostmasterSignal().
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера