1
0
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:
Peter Eisentraut
2023-08-16 16:17:00 +02:00
parent 1e7ca1189c
commit dca20013eb
4 changed files with 19 additions and 19 deletions

View File

@@ -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)
{