mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
Message style improvements
Message style, plurals, quoting, spelling, consistency with similar messages
This commit is contained in:
@ -2867,7 +2867,7 @@ transformOnConflictArbiter(ParseState *pstate,
|
||||
if (IsCatalogRelation(pstate->p_target_relation))
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
errmsg("ON CONFLICT not supported with system catalog tables"),
|
||||
errmsg("ON CONFLICT is not supported with system catalog tables"),
|
||||
parser_errposition(pstate,
|
||||
exprLocation((Node *) onConflictClause))));
|
||||
|
||||
@ -2875,7 +2875,7 @@ transformOnConflictArbiter(ParseState *pstate,
|
||||
if (RelationIsUsedAsCatalogTable(pstate->p_target_relation))
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
errmsg("ON CONFLICT not supported on table \"%s\" used as a catalog table",
|
||||
errmsg("ON CONFLICT is not supported on table \"%s\" used as a catalog table",
|
||||
RelationGetRelationName(pstate->p_target_relation)),
|
||||
parser_errposition(pstate,
|
||||
exprLocation((Node *) onConflictClause))));
|
||||
|
Reference in New Issue
Block a user