Re: pgsql: Convert debug message from ereport to elog

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pgsql: Convert debug message from ereport to elog
Дата
Msg-id 4c06e956-c6df-7289-c9fa-55e9370d056e@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: pgsql: Convert debug message from ereport to elog  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Ответы Re: pgsql: Convert debug message from ereport to elog  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Список pgsql-committers
> Just out of curiosity, what is the reason why you did this?  I guess

This made a message consistent with an analogous message in
apply_handle_update() earlier in the file.

> using elog instead of ereport for debugging message is preferable,
> while for non debugging messages using ereport is preferable, but
> actually sometimes elog is used for error messages in the file.

I think this is not done perfectly consistently, and there are
possibilities for improvement.


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Fail BRIN control functions during recovery explicitly
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: pgsql: Convert debug message from ereport to elog