1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00

Message style improvements

This commit is contained in:
Peter Eisentraut
2011-07-08 07:37:04 +03:00
parent c59b8ba6cd
commit f05c65090a
6 changed files with 14 additions and 14 deletions

View File

@ -3887,7 +3887,7 @@ text_format(PG_FUNCTION_ARGS)
if (arg > PG_NARGS() - 1)
ereport(ERROR,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("too few arguments for format conversion")));
errmsg("too few arguments for format")));
/*
* At this point, we should see the main conversion specifier. Whether
@ -3908,7 +3908,7 @@ text_format(PG_FUNCTION_ARGS)
default:
ereport(ERROR,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("unrecognized conversion specifier: %c",
errmsg("unrecognized conversion specifier \"%c\"",
*cp)));
}
}