|
1 | 1 | /*
|
2 | 2 | * conversion functions between pg_wchar and multibyte streams.
|
3 | 3 | * Tatsuo Ishii
|
4 |
| - * $PostgreSQL: pgsql/src/backend/utils/mb/wchar.c,v 1.73 2009/06/11 14:49:05 momjian Exp $ |
| 4 | + * $PostgreSQL: pgsql/src/backend/utils/mb/wchar.c,v 1.74 2010/01/04 20:38:31 adunstan Exp $ |
5 | 5 | *
|
6 | 6 | */
|
7 | 7 | /* can be used in either frontend or backend */
|
@@ -1608,10 +1608,7 @@ report_invalid_encoding(int encoding, const char *mbstr, int len)
|
1608 | 1608 | (errcode(ERRCODE_CHARACTER_NOT_IN_REPERTOIRE),
|
1609 | 1609 | errmsg("invalid byte sequence for encoding \"%s\": 0x%s",
|
1610 | 1610 | pg_enc2name_tbl[encoding].name,
|
1611 |
| -buf), |
1612 |
| -errhint("This error can also happen if the byte sequence does not " |
1613 |
| -"match the encoding expected by the server, which is controlled " |
1614 |
| -"by \"client_encoding\"."))); |
| 1611 | +buf))); |
1615 | 1612 | }
|
1616 | 1613 |
|
1617 | 1614 | /*
|
|