Re: pgsql: Convert debug message from ereport to elog - Mailing list pgsql-committers

From Peter Eisentraut
Subject Re: pgsql: Convert debug message from ereport to elog
Date
Msg-id 4c06e956-c6df-7289-c9fa-55e9370d056e@2ndquadrant.com
Whole thread Raw
In response to Re: pgsql: Convert debug message from ereport to elog  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Responses Re: pgsql: Convert debug message from ereport to elog  (Tatsuo Ishii <ishii@sraoss.co.jp>)
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fail BRIN control functions during recovery explicitly
Next
From: Tatsuo Ishii
Date:
Subject: Re: pgsql: Convert debug message from ereport to elog