Uninformative messages from pg_ctl

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Uninformative messages from pg_ctl
Date: 2007-10-09 10:35:59
Message-ID: 1191926159.4223.632.camel@ebony.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gokulakannan Somasundaram 2007-10-09 10:38:00 Re: IndexTuple Structure
Previous Message Florian G. Pflug 2007-10-09 10:30:32 Re: Including Snapshot Info with Indexes