On 2025-Feb-04, Tom Lane wrote: > The implementation I had in mind was to just invent a > pg_log_error_internal() macro alias for pg_log_error(). > That'd take about two lines counting the explanatory comment. > This approach would fail to suppress the cost of gettext's > trying to look up the string, but surely we aren't concerned > about that here --- we just want to not burden translators > with the string.
Yeah, okay, that seems good enough for me. I agree that the cost of an unnecessary gettext() call is negligible. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/