Re: message clarifications - Mailing list pgsql-hackers

From Tom Lane
Subject Re: message clarifications
Date
Msg-id 20056.1270563228@sss.pgh.pa.us
Whole thread Raw
In response to Re: message clarifications  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> On Tue, 2010-04-06 at 09:57 -0400, Tom Lane wrote:
>> Or use errmsg_internal instead of errmsg.

> I've changed them to elog() before you said this. Would you like me to
> change them to errmsg_internal or do you mean "...as an option in the
> future"?

It's just a different option.  elog for debug messages is a well
established practice, but if you wanted something that looked more
like ereport, you could hide the messages from translation with
the above.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: message clarifications
Next
From: Tom Lane
Date:
Subject: Re: SELECT constant; takes 15x longer on 9.0?