Re: Change 'pg_ctl: no server running' Exit Status to 3

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Aaron W(dot) Swenson" <aaron(dot)w(dot)swenson(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Change 'pg_ctl: no server running' Exit Status to 3
Date: 2011-06-03 20:09:00
Message-ID: 1307131740.32120.11.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2011-06-03 20:09:20 Re: SIREAD lock versus ACCESS EXCLUSIVE lock
Previous Message Merlin Moncure 2011-06-03 20:08:55 Re: Error in PQsetvalue