In new "invalid byte sequence" error hint, call it "error", not
authorBruce Momjian <bruce@momjian.us>
Tue, 22 Aug 2006 12:11:38 +0000 (12:11 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 22 Aug 2006 12:11:38 +0000 (12:11 +0000)
"failure".

src/backend/utils/mb/wchar.c

index fdc6cded3a03856999b3ce2abd47ad4f834a4b18..318926622c9a1a9c0acd223ee78faef30a90d75e 100644 (file)
@@ -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\".")));
 }