Style of file error messages

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Style of file error messages
Дата
Msg-id 200705301818.02837.peter_e@gmx.net
обсуждение исходный текст
Ответы Re: Style of file error messages  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: Style of file error messages  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Just to get an opinion, which is better:

could not open transaction log file "%s": %m
could not open control file "%s": %m
could not open data file "%s": %m
could not open temporary file "%s": %m
could not open whatever file "%s": %m

or just:

could not open file "%s": %m

It seems to me that by the time you get to a file error message of this 
level, the higher-level purpose of the file is pretty irrelevant.  
(Specific exceptions might exist.)  Log analysis tools might also 
prefer a uniform format.

Anyway, some consistency either way would be nice.

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


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

Предыдущее
От: "Zeugswetter Andreas ADI SD"
Дата:
Сообщение: Re: TOAST usage setting
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 'Waiting on lock'