mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +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:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/tid.c,v 1.40 2003/08/11 20:46:46 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/tid.c,v 1.41 2003/09/25 06:58:04 petere Exp $
|
||||
*
|
||||
* NOTES
|
||||
* input routine largely stolen from boxin().
|
||||
@ -63,7 +63,7 @@ tidin(PG_FUNCTION_ARGS)
|
||||
if (i < NTIDARGS)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
|
||||
errmsg("invalid input syntax for tid: \"%s\"",
|
||||
errmsg("invalid input syntax for type tid: \"%s\"",
|
||||
str)));
|
||||
|
||||
errno = 0;
|
||||
@ -71,7 +71,7 @@ tidin(PG_FUNCTION_ARGS)
|
||||
if (errno || *badp != DELIM)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
|
||||
errmsg("invalid input syntax for tid: \"%s\"",
|
||||
errmsg("invalid input syntax for type tid: \"%s\"",
|
||||
str)));
|
||||
|
||||
hold_offset = strtol(coord[1], &badp, 10);
|
||||
@ -79,7 +79,7 @@ tidin(PG_FUNCTION_ARGS)
|
||||
hold_offset > USHRT_MAX || hold_offset < 0)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
|
||||
errmsg("invalid input syntax for tid: \"%s\"",
|
||||
errmsg("invalid input syntax for type tid: \"%s\"",
|
||||
str)));
|
||||
|
||||
offsetNumber = hold_offset;
|
||||
|
Reference in New Issue
Block a user