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:
@ -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)
|
||||
|
Reference in New Issue
Block a user