From: Tom Lane Date: Tue, 3 Mar 2009 00:17:13 +0000 (+0000) Subject: Ooops ... fix some confusion between gettext() and _() in my previous patch. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=c2efa19cf58041a508496e0031c5e8f5db929ccc;p=users%2Fbernd%2Fpostgres.git Ooops ... fix some confusion between gettext() and _() in my previous patch. This has moved around in past releases, so just copying-and-pasting from HEAD didn't work as intended. --- diff --git a/src/backend/utils/error/elog.c b/src/backend/utils/error/elog.c index e6d2308218..71b9c71df7 100644 --- a/src/backend/utils/error/elog.c +++ b/src/backend/utils/error/elog.c @@ -637,7 +637,7 @@ errcode_for_socket_access(void) StringInfoData buf; \ /* Internationalize the error format string */ \ if (translateit && !in_error_recursion_trouble()) \ - fmt = _(fmt); \ + fmt = gettext(fmt); \ /* Expand %m in format string */ \ fmtbuf = expand_fmt_string(fmt, edata); \ initStringInfo(&buf); \