Re: "pg_ctl promote" exit status
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-hackers@postgresql.org
Cc: titanofold@gentoo.org
Date: 2013-01-25T18:54:06Z
Lists: 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.