1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-17 06:41:09 +03:00

Unify some internal error message wordings

This commit is contained in:
Peter Eisentraut
2022-11-08 18:45:29 +01:00
parent 042c9091f0
commit b5621b66e7
4 changed files with 14 additions and 14 deletions

View File

@ -99,7 +99,7 @@ report_name_conflict(Oid classId, const char *name)
msgfmt = gettext_noop("subscription \"%s\" already exists");
break;
default:
elog(ERROR, "unsupported object class %u", classId);
elog(ERROR, "unsupported object class: %u", classId);
break;
}
@ -142,7 +142,7 @@ report_namespace_conflict(Oid classId, const char *name, Oid nspOid)
msgfmt = gettext_noop("text search configuration \"%s\" already exists in schema \"%s\"");
break;
default:
elog(ERROR, "unsupported object class %u", classId);
elog(ERROR, "unsupported object class: %u", classId);
break;
}