Re: Error message style guide, take 2 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Error message style guide, take 2
Date
Msg-id 428.1053122560@sss.pgh.pa.us
Whole thread Raw
In response to Re: Error message style guide, take 2  ("Dann Corbit" <DCorbit@connx.com>)
List 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 by date:

Previous
From: "Dann Corbit"
Date:
Subject: Re: Error message style guide, take 2
Next
From: "scott.marlowe"
Date:
Subject: Re: Heads up: 7.3.3 this Wednesday