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:
25aef5e
)
In new "invalid byte sequence" error hint, call it "error", not
author
Bruce Momjian
<bruce@momjian.us>
Tue, 22 Aug 2006 12:11:38 +0000
(12:11 +0000)
committer
Bruce Momjian
<bruce@momjian.us>
Tue, 22 Aug 2006 12:11:38 +0000
(12:11 +0000)
"failure".
src/backend/utils/mb/wchar.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/mb/wchar.c
b/src/backend/utils/mb/wchar.c
index fdc6cded3a03856999b3ce2abd47ad4f834a4b18..318926622c9a1a9c0acd223ee78faef30a90d75e 100644
(file)
--- a/
src/backend/utils/mb/wchar.c
+++ b/
src/backend/utils/mb/wchar.c
@@
-1487,7
+1487,7
@@
report_invalid_encoding(int encoding, const char *mbstr, int len)
errmsg("invalid byte sequence for encoding \"%s\": 0x%s",
pg_enc2name_tbl[encoding].name,
buf),
- errhint("This
failure
can also happen if the byte sequence does not "
+ errhint("This
error
can also happen if the byte sequence does not "
"match the encoding expected by the server, which is controlled "
"by \"client_encoding\".")));
}