Re: Change 'pg_ctl: no server running' Exit Status to 3 - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Change 'pg_ctl: no server running' Exit Status to 3
Date
Msg-id 1307131740.32120.11.camel@vanquo.pezone.net
Whole thread Raw
In response to Change 'pg_ctl: no server running' Exit Status to 3  ("Aaron W. Swenson" <aaron.w.swenson@gmail.com>)
Responses Re: Change 'pg_ctl: no server running' Exit Status to 3
List pgsql-hackers
On mån, 2011-05-23 at 20:50 -0400, Aaron W. Swenson wrote:
> According to Linux Standard Base Core Specification 3.1 [1], the exit
> status should be '3' when the server isn't running.
> 
> I've attached a very simple patch that resolves this cosmetic issue,
> which applies to all branches.

If we're going to make the exit status meaningful, it should probably be
added to the documentation.




pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: SIREAD lock versus ACCESS EXCLUSIVE lock
Next
From: Bruce Momjian
Date:
Subject: Re: Getting a bug tracker for the Postgres project