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:
parent
eb828d9398
commit
1fc5d2a89f
@ -42,7 +42,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.201.2.3 2009/03/02 21:18:50 tgl Exp $
|
* $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.201.2.4 2009/03/03 00:17:13 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -637,7 +637,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); \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user