projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68aa070
)
Ooops ... fix some confusion between gettext() and _() in my previous patch.
author
Tom Lane
<
[email protected]
>
Tue, 3 Mar 2009 00:17:29 +0000
(
00:17
+0000)
committer
Tom Lane
<
[email protected]
>
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
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/error/elog.c
b/src/backend/utils/error/elog.c
index 30bea499d7cf1e23a20017ef5d34afec7ed83c23..0d2837fdbe2fcd652858acd5e20f8b3aa60000bb 100644
(file)
--- a/
src/backend/utils/error/elog.c
+++ b/
src/backend/utils/error/elog.c
@@
-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); \