From: Tom Lane Date: Tue, 3 Mar 2009 00:17:22 +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=38f9426cd30b098763b2dac62eb9857b8e7a7ab8;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 0d2f61e672..c574a40d0b 100644 --- a/src/backend/utils/error/elog.c +++ b/src/backend/utils/error/elog.c @@ -649,7 +649,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); \