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

Fri, 21 Sep 2001 12:49:36 -0400
Tom Lane <tgl@sss.pgh.pa.us>
pg_ctl needs a SIGHUP option
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


Fri, 21 Sep 2001 20:07:42 +0200 (CEST)
Peter Eisentraut <peter_e@gmx.net>
Re: pg_ctl needs a SIGHUP option
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

Fri, 21 Sep 2001 14:08:13 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_ctl needs a SIGHUP option 