summaryrefslogtreecommitdiff
path: root/src/backend/commands
diff options
context:
space:
mode:
authorPeter Eisentraut2020-09-14 04:42:07 +0000
committerPeter Eisentraut2020-09-14 04:42:30 +0000
commit3e0242b24c3c059870890644b69d6c4491a45651 (patch)
tree3c3f13a5716e33380a9cf95c1f87a2990f9881dc /src/backend/commands
parentac673a1aaff197f3e01f7bac69da0dd700854e13 (diff)
Message fixes and style improvements
Diffstat (limited to 'src/backend/commands')
-rw-r--r--src/backend/commands/opclasscmds.c8
-rw-r--r--src/backend/commands/tablecmds.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/commands/opclasscmds.c b/src/backend/commands/opclasscmds.c
index 28395d5946f..c46db7d11cb 100644
--- a/src/backend/commands/opclasscmds.c
+++ b/src/backend/commands/opclasscmds.c
@@ -1212,14 +1212,14 @@ assignProcTypes(OpFamilyMember *member, Oid amoid, Oid typeoid,
(OidIsValid(member->righttype) && member->righttype != typeoid))
ereport(ERROR,
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
- errmsg("associated data types for opclass options parsing functions must match opclass input type")));
+ errmsg("associated data types for operator class options parsing functions must match opclass input type")));
}
else
{
if (member->lefttype != member->righttype)
ereport(ERROR,
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
- errmsg("left and right associated data types for opclass options parsing functions must match")));
+ errmsg("left and right associated data types for operator class options parsing functions must match")));
}
if (procform->prorettype != VOIDOID ||
@@ -1227,8 +1227,8 @@ assignProcTypes(OpFamilyMember *member, Oid amoid, Oid typeoid,
procform->proargtypes.values[0] != INTERNALOID)
ereport(ERROR,
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
- errmsg("invalid opclass options parsing function"),
- errhint("Valid signature of opclass options parsing function is '%s'.",
+ errmsg("invalid operator class options parsing function"),
+ errhint("Valid signature of operator class options parsing function is %s.",
"(internal) RETURNS void")));
}
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c
index 3e57c7f9e1d..c21a309f04f 100644
--- a/src/backend/commands/tablecmds.c
+++ b/src/backend/commands/tablecmds.c
@@ -6855,7 +6855,7 @@ NotNullImpliedByRelConstraints(Relation rel, Form_pg_attribute attr)
if (ConstraintImpliedByRelConstraint(rel, list_make1(nnulltest), NIL))
{
ereport(DEBUG1,
- (errmsg("existing constraints on column \"%s\".\"%s\" are sufficient to prove that it does not contain nulls",
+ (errmsg("existing constraints on column \"%s.%s\" are sufficient to prove that it does not contain nulls",
RelationGetRelationName(rel), NameStr(attr->attname))));
return true;
}