1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-25 01:02:05 +03:00

Make format() error messages consistent again

07d25a964 changed only one occurrence.  Change the other one as well.
This commit is contained in:
Peter Eisentraut
2016-08-08 08:15:41 -04:00
parent be7f7ee5ea
commit 8a56d4e361
2 changed files with 5 additions and 5 deletions

View File

@ -5004,7 +5004,7 @@ text_format(PG_FUNCTION_ARGS)
if (arg >= nargs)
ereport(ERROR,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("too few arguments for format")));
errmsg("too few arguments for format()")));
/* Get the value and type of the selected argument */
if (!funcvariadic)