Fujii Masao <masao(dot)fujii(at)gmail(dot)com> writes:
> We should make trace_recovery_messages available only when
> the WAL_DEBUG macro was defined?
No, because it's used in a lot of other contexts besides that.
> Currently it's always
> available, so the standby seems to call elog() too frequently.
Where? I don't see very many messages that would actually get emitted
at the default setting of the parameter.
regards, tom lane