Re: "pg_ctl promote" exit status - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: "pg_ctl promote" exit status
Date
Msg-id 51068F48.3020809@gmx.net
Whole thread Raw
In response to Re: "pg_ctl promote" exit status  ("Aaron W. Swenson" <titanofold@gentoo.org>)
Responses Re: "pg_ctl promote" exit status
List pgsql-hackers
On 1/26/13 4:44 PM, Aaron W. Swenson wrote:
> You are right. Had I read a little further down, it seems that the
> exit status should actually be 7.

7 is OK for "not running", but what should we use when the server is not
in standby mode?  Using the idempotent argument that we are discussing
for the stop action, promoting a server that is not a standby should be
a noop and exit successfully.  Not sure if that is what we want, though.




pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Number of buckets in a hash join
Next
From: Tom Lane
Date:
Subject: Re: "pg_ctl promote" exit status