aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-08-22 12:11:38 +0000
committerBruce Momjian <bruce@momjian.us>2006-08-22 12:11:38 +0000
commit368f3b2ccadb5c06d019deda84920cf8d9227b0c (patch)
treee8d41a965340598e95cc21dd79ca57a04162214f /src
parentd16e2ceb597c121fc25e97133ac92d44d5b08d7b (diff)
downloadpostgresql-368f3b2ccadb5c06d019deda84920cf8d9227b0c.tar.gz
postgresql-368f3b2ccadb5c06d019deda84920cf8d9227b0c.zip
In new "invalid byte sequence" error hint, call it "error", not
"failure".
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/mb/wchar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/mb/wchar.c b/src/backend/utils/mb/wchar.c
index 5635b7320d6..dcee2b519d5 100644
--- a/src/backend/utils/mb/wchar.c
+++ b/src/backend/utils/mb/wchar.c
@@ -1,7 +1,7 @@
/*
* conversion functions between pg_wchar and multibyte streams.
* Tatsuo Ishii
- * $PostgreSQL: pgsql/src/backend/utils/mb/wchar.c,v 1.47.2.3 2006/08/22 03:38:13 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/mb/wchar.c,v 1.47.2.4 2006/08/22 12:11:38 momjian Exp $
*
* WIN1250 client encoding updated by Pavel Behal
*
@@ -1326,7 +1326,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\".")));
}