Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita313235

Browse files
committed
In new "invalid byte sequence" error hint, call it "error", not
"failure".
1 parent77f2c78 commita313235

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/2203:30:20 momjian Exp $
4+
* $PostgreSQL: pgsql/src/backend/utils/mb/wchar.c,v 1.57 2006/08/2212: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("Thisfailure can also happen if the byte sequence does not "
1490+
errhint("Thiserror 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)

[8]ページ先頭

©2009-2025 Movatter.jp