Re: Uninformative messages from pg_ctl

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Uninformative messages from pg_ctl
Дата
Msg-id 200710091309.20192.peter_e@gmx.net
обсуждение исходный текст
Ответ на Uninformative messages from pg_ctl  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: Uninformative messages from pg_ctl  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Am Dienstag, 9. Oktober 2007 schrieb Simon Riggs:
> 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

Well, this objection could apply to any place where a file is being opened.  
I'm curious how you plan to sort out the difference, considering that open() 
simply returns ENOENT in both cases.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Re: Including Snapshot Info with Indexes
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Uninformative messages from pg_ctl