mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Unify error messages
... for translatability purposes.
This commit is contained in:
@ -2192,7 +2192,9 @@ json_build_object(PG_FUNCTION_ARGS)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
|
||||
errmsg("argument list must have even number of elements"),
|
||||
errhint("The arguments of json_build_object() must consist of alternating keys and values.")));
|
||||
/* translator: %s is a SQL function name */
|
||||
errhint("The arguments of %s must consist of alternating keys and values.",
|
||||
"json_build_object()")));
|
||||
|
||||
result = makeStringInfo();
|
||||
|
||||
|
Reference in New Issue
Block a user