]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Ooops ... fix some confusion between gettext() and _() in my previous patch.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 3 Mar 2009 00:17:29 +0000 (00:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
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 1edb171fec6b49ed0dcca7f77d4e64a6f12172e1..77ca1cec33dd97c21ca4db66bdb8818ea136f749 100644 (file)
@@ -42,7 +42,7 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.167.2.8 2009/03/02 21:19:05 tgl Exp $
+ *       $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.167.2.9 2009/03/03 00:17:29 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -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); \