From: | "Aaron W(dot) Swenson" <titanofold(at)gentoo(dot)org> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: "pg_ctl promote" exit status |
Date: | 2013-01-26 21:44:24 |
Message-ID: | 20130126214424.GA14960@gengoff.grandmasfridge.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Jan 25, 2013 at 01:54:06PM -0500, Peter Eisentraut wrote:
> 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.
You are right. Had I read a little further down, it seems that the
exit status should actually be 7.
--
Mr. Aaron W. Swenson
Gentoo Linux Developer
Email : titanofold(at)gentoo(dot)org
GnuPG FP : 2C00 7719 4F85 FB07 A49C 0E31 5713 AA03 D1BB FDA0
GnuPG ID : D1BBFDA0
From | Date | Subject | |
---|---|---|---|
Next Message | Noah Misch | 2013-01-26 22:09:22 | Re: Materialized views WIP patch |
Previous Message | Pavel Stehule | 2013-01-26 21:37:04 | Re: [PATCH] pg_isready (was: [WIP] pg_ping utility) |