From 38f9426cd30b098763b2dac62eb9857b8e7a7ab8 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 3 Mar 2009 00:17:22 +0000 Subject: [PATCH] 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. --- src/backend/utils/error/elog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); \ -- 2.39.5