Josh Berkus wrote: > Tom, > > >> "# What to use to start up the postmaster (we do NOT use pg_ctl for this, > >> # as it adds no value and can cause the postmaster to misrecognize a stale > >> # lock file) > >> DAEMON="$prefix/bin/postmaster" > > > > And? That statement was and remains perfectly correct. We don't use > > pg_ctl to start the postmaster in the Linux initscripts, either. > > Then WTF do we have pg_ctl, and why do our docs tell people to use it?
I assume on boot we _know_ there can't be another postmaster running, while normal pg_ctl does not know that. Perhaps we just need to state that in the comment. -- Bruce Momjian <br...@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. + -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers