1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-29 16:21:20 +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:29 +00:00
parent 010953d904
commit 38da2203a9

View File

@ -42,7 +42,7 @@
* *
* *
* IDENTIFICATION * 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; \ StringInfoData buf; \
/* Internationalize the error format string */ \ /* Internationalize the error format string */ \
if (translateit && !in_error_recursion_trouble()) \ if (translateit && !in_error_recursion_trouble()) \
fmt = _(fmt); \ fmt = gettext(fmt); \
/* Expand %m in format string */ \ /* Expand %m in format string */ \
fmtbuf = expand_fmt_string(fmt, edata); \ fmtbuf = expand_fmt_string(fmt, edata); \
initStringInfo(&buf); \ initStringInfo(&buf); \