mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Message editing: remove gratuitous variations in message wording, standardize
terms, add some clarifications, fix some untranslatable attempts at dynamic message building.
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varbit.c,v 1.36 2003/09/15 20:03:37 petere Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varbit.c,v 1.37 2003/09/25 06:58:05 petere Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -153,7 +153,7 @@ bit_in(PG_FUNCTION_ARGS)
|
||||
else
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
|
||||
errmsg("\"%c\" is not a valid hex digit",
|
||||
errmsg("\"%c\" is not a valid hexadecimal digit",
|
||||
*sp)));
|
||||
|
||||
if (bc)
|
||||
@ -392,7 +392,7 @@ varbit_in(PG_FUNCTION_ARGS)
|
||||
else
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
|
||||
errmsg("\"%c\" is not a valid hex digit",
|
||||
errmsg("\"%c\" is not a valid hexadecimal digit",
|
||||
*sp)));
|
||||
|
||||
if (bc)
|
||||
@ -1254,7 +1254,7 @@ bitfromint8(PG_FUNCTION_ARGS)
|
||||
#else
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
errmsg("int64 is not supported on this platform")));
|
||||
errmsg("64-bit integers not supported on this platform")));
|
||||
|
||||
PG_RETURN_NULL();
|
||||
#endif
|
||||
@ -1287,7 +1287,7 @@ bittoint8(PG_FUNCTION_ARGS)
|
||||
#else
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
errmsg("int64 is not supported on this platform")));
|
||||
errmsg("64-bit integers not supported on this platform")));
|
||||
|
||||
PG_RETURN_NULL();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user