pg_ctl needs a SIGHUP option
pg_ctl needs a SIGHUP option
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
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
Re: pg_ctl needs a SIGHUP option
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
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