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)
Список
Дерево обсуждения
Re: Error message style guide, take 2 "Dann Corbit" <DCorbit@connx.com>
Re: Error message style guide, take 2 Tom Lane <tgl@sss.pgh.pa.us>
"Dann Corbit" 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 по дате отправления