Simon Riggs <simon(at)2ndQuadrant(dot)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