projects
/
users
/
andresfreund
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b76379c
)
Remove sometimes inaccurate error hint about source of wrongly encoded data.
author
Andrew Dunstan
<andrew@dunslane.net>
Mon, 4 Jan 2010 20:38:31 +0000
(20:38 +0000)
committer
Andrew Dunstan
<andrew@dunslane.net>
Mon, 4 Jan 2010 20:38:31 +0000
(20:38 +0000)
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 6cb2120484c969570632f38c5c3b39eeba8124e6..4b98c8b039b04954cbb7b72cd5131d31ada4e883 100644
(file)
--- a/
src/backend/utils/mb/wchar.c
+++ b/
src/backend/utils/mb/wchar.c
@@
-1608,10
+1608,7
@@
report_invalid_encoding(int encoding, const char *mbstr, int len)
(errcode(ERRCODE_CHARACTER_NOT_IN_REPERTOIRE),
errmsg("invalid byte sequence for encoding \"%s\": 0x%s",
pg_enc2name_tbl[encoding].name,
- buf),
- 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\".")));
+ buf)));
}
/*