Thread: pg_ctl needs a SIGHUP option
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