Uninformative messages from pg_ctl

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Uninformative messages from pg_ctl
Дата
Msg-id 1191926159.4223.632.camel@ebony.site
обсуждение исходный текст
Ответы Re: Uninformative messages from pg_ctl  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: Including Snapshot Info with Indexes
Следующее
От: "Gokulakannan Somasundaram"
Дата:
Сообщение: Re: IndexTuple Structure