From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | pg_ctl changes |
Date: | 2001-02-07 22:16:11 |
Message-ID: | Pine.LNX.4.30.0102072300240.1205-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I've implemented the following changes in pg_ctl:
* Make -w the default for shut down, add -W option to specify no wait.
* Add -l option to name log file. If the option is omitted, then the
postmaster log goes to stdout, so you can use 'pg_ctl ... > log' and still
get pg_ctl's stderr on the terminal.
* Proper file descriptor redirection to allow postmaster to detach from
shell's process group.
* Add -s option to turn off informational messages, so as to not mess up
the carefully crafted Red Hat-style startup screens. Error messages still
show up.
This should make pg_ctl a lot more suitable for startup scripts and
overall. If this is okay then I'll also try to merge the contrib/linux
and contrib/init.d scripts and reflect these changes there.
--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-02-07 22:19:58 | Re: pg_ctl changes |
Previous Message | Peter Mount | 2001-02-07 22:05:23 | Re: CORBA? |