When modifying postgresql.conf (or, now, pg_hba.conf) one must send a
SIGHUP to the postmaster to get it to pay attention. Seems like it'd
be nice if pg_ctl had an option to do that, rather than having to muck
about with looking in ps output. Any objections? What should the
option be called? "pg_ctl hup" is short but maybe too Unix-sysadminy;
perhaps something like "pg_ctl reconfig"?
regards, tom lane
Tom Lane writes: > Any objections? No. Definitely needed. > What should the option be called? "pg_ctl hup" is short but maybe too > Unix-sysadminy; perhaps something like "pg_ctl reconfig"? If you accept the Linux Standards Base as a precedent for the other options, it should be "reload". That will most easily map the the init.d scripts. -- Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> What should the option be called?
> If you accept the Linux Standards Base as a precedent for the other
> options, it should be "reload".
Works for me.
regards, tom lane
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера