1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

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.
This commit is contained in:
Tom Lane
2009-03-03 00:17:22 +00:00
parent 78206b3bdd
commit c5d6081f0e

View File

@ -42,7 +42,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.178.2.7 2009/03/02 21:18:57 tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.178.2.8 2009/03/03 00:17:22 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -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); \