Re: pg_ctl status with nonexistent data directory

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_ctl status with nonexistent data directory
Date: 2014-03-07 03:45:16
Message-ID: 20140307034516.GE11419@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Mar 6, 2014 at 10:43:01PM -0500, Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > On Thu, Mar 6, 2014 at 12:17:55PM -0300, Alvaro Herrera wrote:
> >> Bruce Momjian escribi:
> >>> Technically, you are right, but I tried a while ago to assign meaningful
> >>> values to all the exit locations and the community feedback I got was
> >>> that we didn't want that.
>
> >> That sounds odd. Do you have a link?
>
> > Sure, the patch is here:
> > http://www.postgresql.org/message-id/20130629025033.GI13790@momjian.us
> > and the idea of keeping what we have is stated here:
> > http://www.postgresql.org/message-id/51D1E482.5090602@gmx.net
>
> Perhaps I shouldn't be putting words in Peter's mouth, but my reading of
> his complaint was that he didn't think you'd mapped the pg_ctl failure
> conditions to LSB status codes very well. That's not necessarily a vote
> against the abstract idea of making it more LSB-compliant.
>
> But it seems like we might have to go through it case-by-case to argue out
> what's the right error code for each case ... and I'm not sure anybody
> thinks it's worth that much effort.

Yes, I think the question was whether the effort was worth it.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2014-03-07 04:11:08 Re: pg_ctl status with nonexistent data directory
Previous Message Fabrízio de Royes Mello 2014-03-07 03:43:56 Re: GSoC proposal - "make an unlogged table logged"