*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.125.2.6 2009/03/02 21:19:23 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.125.2.7 2009/03/03 00:17:44 tgl Exp $
*
*-------------------------------------------------------------------------
*/
#include "utils/guc.h"
-#undef _
-#define _(x) err_gettext(x)
-
/* Global variables */
ErrorContextCallback *error_context_stack = NULL;
#endif
}
+#undef gettext
+#define gettext(x) err_gettext(x)
+
/*
* errstart --- begin an error-reporting cycle
char *fmtbuf; \
StringInfoData buf; \
/* Internationalize the error format string */ \
- if (translateit && !in_error_recursion_trouble()) \
+ if (translateit) \
fmt = gettext(fmt); \
/* Expand %m in format string */ \
fmtbuf = expand_fmt_string(fmt, edata); \