Uninformative messages from pg_ctl - Mailing list pgsql-hackers

From Simon Riggs
Subject Uninformative messages from pg_ctl
Date
Msg-id 1191926159.4223.632.camel@ebony.site
Whole thread Raw
Responses Re: Uninformative messages from pg_ctl
List pgsql-hackers
These messages from pg_ctl are not useful

$ pg_ctl -D nonexistent stop
pg_ctl: PID file "nonexistent/postmaster.pid" does not exist
Is server running?

The message should say
pg_ctl: Data Directory "nonexistent" does not exist

$ pg_ctl -D nonexistent start
postgres cannot access the server configuration file
"/usr/local/pgsql/nonexistent/postgresql.conf": No such file or
directory
server starting

The message should say 
pg_ctl: Data Directory "nonexistent" does not exist

and should not say "server starting" at all.


Any objections to changing them?


--  Simon Riggs 2ndQuadrant  http://www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: "Florian G. Pflug"
Date:
Subject: Re: Including Snapshot Info with Indexes
Next
From: "Gokulakannan Somasundaram"
Date:
Subject: Re: IndexTuple Structure