Re: message clarifications

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: message clarifications
Дата
Msg-id 20056.1270563228@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: message clarifications  (Simon Riggs <simon@2ndQuadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: message clarifications
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SELECT constant; takes 15x longer on 9.0?