Skip to content

Commit 3cd318a

Browse files
committed
Fix gratuitous message spelling differences
1 parent 81b0b06 commit 3cd318a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1994, Regents of the University of California
77
*
88
* IDENTIFICATION
9-
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c,v 1.23 2006/10/06 17:13:59 petere Exp $
9+
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c,v 1.24 2006/11/27 15:50:54 petere Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -162,7 +162,7 @@ utf8_to_iso8859(PG_FUNCTION_ARGS)
162162

163163
ereport(ERROR,
164164
(errcode(ERRCODE_INTERNAL_ERROR),
165-
errmsg("unexpected encoding id %d for ISO-8859 charsets", encoding)));
165+
errmsg("unexpected encoding ID %d for ISO 8859 character sets", encoding)));
166166

167167
PG_RETURN_VOID();
168168
}

src/backend/utils/mb/conversion_procs/utf8_and_win/utf8_and_win.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1994, Regents of the University of California
77
*
88
* IDENTIFICATION
9-
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_win/utf8_and_win.c,v 1.7 2006/10/06 17:14:00 petere Exp $
9+
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_win/utf8_and_win.c,v 1.8 2006/11/27 15:50:55 petere Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -152,7 +152,7 @@ utf8_to_win(PG_FUNCTION_ARGS)
152152

153153
ereport(ERROR,
154154
(errcode(ERRCODE_INTERNAL_ERROR),
155-
errmsg("unexpected encoding id %d for WIN charsets", encoding)));
155+
errmsg("unexpected encoding ID %d for WIN character sets", encoding)));
156156

157157
PG_RETURN_VOID();
158158
}

0 commit comments

Comments
 (0)