Re: pg_ctl restart - behaviour based on wrong instance
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: Robert Haas <robertmhaas@gmail.com>, Fujii Masao <masao.fujii@gmail.com>, Erik Rijkers <er@xs4all.nl>, pgsql-hackers@postgresql.org
Date: 2011-10-12T18:10:57Z
Lists: pgsql-hackers
Magnus Hagander wrote: > > I looked over this issue and I don't thinking having pg_ctl restart fall > > back to 'start' is a good solution. ?I am concerned about cases where we > > start a different server without shutting down the old server, for some > > reason. ?When they say 'restart', I think we have to assume they want a > > restart. > > > > What I did do was to document that not backing up postmaster.pid and > > postmaster.opts might help prevent pg_ctl from getting confused. > > Should we exclude postmaster.opts from streaming base backups? We > already exclude postmaster.pid... Uh, I think so, unless my analysis was wrong. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +