mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Message style fixes
This commit is contained in:
@ -95,8 +95,8 @@ scanint8(const char *str, bool errorOK, int64 *result)
|
||||
else
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
|
||||
errmsg("invalid input syntax for %s: \"%s\"",
|
||||
"integer", str)));
|
||||
errmsg("invalid input syntax for integer: \"%s\"",
|
||||
str)));
|
||||
}
|
||||
|
||||
/* process digits */
|
||||
@ -130,8 +130,8 @@ gotdigits:
|
||||
else
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
|
||||
errmsg("invalid input syntax for %s: \"%s\"",
|
||||
"integer", str)));
|
||||
errmsg("invalid input syntax for integer: \"%s\"",
|
||||
str)));
|
||||
}
|
||||
|
||||
*result = (sign < 0) ? -tmp : tmp;
|
||||
|
Reference in New Issue
Block a user