mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
Unify some error messages
We had essentially the same error in several different wordings. Unify that.
This commit is contained in:
@@ -1955,7 +1955,7 @@ uniqueifyJsonbObject(JsonbValue *object, bool unique_keys, bool skip_nulls)
|
||||
if (hasNonUniq && unique_keys)
|
||||
ereport(ERROR,
|
||||
errcode(ERRCODE_DUPLICATE_JSON_OBJECT_KEY_VALUE),
|
||||
errmsg("duplicate JSON object key"));
|
||||
errmsg("duplicate JSON object key value"));
|
||||
|
||||
if (hasNonUniq || skip_nulls)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user