On 6/15/18 06:53, Tatsuo Ishii wrote:
> Therefore, elog should be used only for internal errors and low-level
> debug logging. Also for these purposes ereport should not be used.
ereport() has the advantage that if the debug level excludes the
message, then the errmsg() call won't even be run and
Peter,
>> 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
> 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 pr
Just out of curiosity, what is the reason why you did this? I guess
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.
Best regards,
--
Tatsuo Ishii
SR