Ooops ... fix some confusion between gettext() and _() in my previous patch.
authorTom Lane <[email protected]>
Tue, 3 Mar 2009 00:17:29 +0000 (00:17 +0000)
committerTom Lane <[email protected]>
Tue, 3 Mar 2009 00:17:29 +0000 (00:17 +0000)
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

index 30bea499d7cf1e23a20017ef5d34afec7ed83c23..0d2837fdbe2fcd652858acd5e20f8b3aa60000bb 100644 (file)
@@ -643,7 +643,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); \