Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a313235

Browse files
committed
In new "invalid byte sequence" error hint, call it "error", not
"failure".
1 parent 77f2c78 commit a313235

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/mb/wchar.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* conversion functions between pg_wchar and multibyte streams.
33
* Tatsuo Ishii
4-
* $PostgreSQL: pgsql/src/backend/utils/mb/wchar.c,v 1.56 2006/08/22 03:30:20 momjian Exp $
4+
* $PostgreSQL: pgsql/src/backend/utils/mb/wchar.c,v 1.57 2006/08/22 12:11:28 momjian Exp $
55
*
66
* WIN1250 client encoding updated by Pavel Behal
77
*
@@ -1487,7 +1487,7 @@ report_invalid_encoding(int encoding, const char *mbstr, int len)
14871487
errmsg("invalid byte sequence for encoding \"%s\": 0x%s",
14881488
pg_enc2name_tbl[encoding].name,
14891489
buf),
1490-
errhint("This failure can also happen if the byte sequence does not "
1490+
errhint("This error can also happen if the byte sequence does not "
14911491
"match the encoding expected by the server, which is controlled "
14921492
"by \"client_encoding\".")));
14931493
}

0 commit comments

Comments
 (0)