Re: pg_ctl restart - behaviour based on wrong instance

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Erik Rijkers <er(at)xs4all(dot)nl>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_ctl restart - behaviour based on wrong instance
Date: 2011-10-18 14:02:06
Message-ID: CABUevEySCek_QcRaLcKdbHeFRJ4YjqpVuW=S0_gZO7fVe3tLjA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wednesday, October 12, 2011, Bruce Momjian wrote:

> 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.
>
>
Ok, fixed and applied.

//Magnus

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2011-10-18 14:06:27 Re: new compiler warnings
Previous Message Kevin Grittner 2011-10-18 13:56:45 Re: new compiler warnings