| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера