Re: Error message style guide, take 2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Error message style guide, take 2
Дата
Msg-id 428.1053122560@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Error message style guide, take 2  ("Dann Corbit" <DCorbit@connx.com>)
Список pgsql-hackers
"Dann Corbit" <DCorbit@connx.com> writes:
>> I didn't actually see anything to it except for a very ugly 
>> spelling of ERROR:, NOTICE:, WARNING:, etc.  What exactly is 
>> there in their scheme that you can't do as well or better 
>> with our existing practices?

> There is a unique signature that makes things easy to find. A grep for
> '%' will find all errors, warnings and informational messages.  A grep
> for '-E-' will find all errors.  The words 'error', 'warning' and
> 'notice' are not likely to be unique.

You think grep "ERROR:" is likely to get more false hits than grep "-E-"?
Somehow I doubt it.
        regards, tom lane


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

Предыдущее
От: "Dann Corbit"
Дата:
Сообщение: Re: Error message style guide, take 2
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: Heads up: 7.3.3 this Wednesday