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

From Peter Eisentraut
Subject Re: "pg_ctl promote" exit status
Date
Msg-id 5102D4CE.7000308@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/12/13 3:30 PM, Aaron W. Swenson wrote:
> The Linux Standard Base Core Specification 3.1 says this should return
> '3'. [1]
> 
> [1] http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

The LSB spec doesn't say anything about a "promote" action.

And for the stop and reload actions that you tried to change, 3 is
"unimplemented".

There is an ongoing discussion about the exit status of the stop action
under <https://commitfest.postgresql.org/action/patch_view?id=1045>, so
let's keep this item about the "promote" action.



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: LATERAL, UNNEST and spec compliance
Next
From: Bruce Momjian
Date:
Subject: Re: Doc patch, normalize search_path in index