aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/catalog/objectaddress.c2
-rw-r--r--src/backend/commands/typecmds.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/catalog/objectaddress.c b/src/backend/catalog/objectaddress.c
index 3cbee108c38..cd96501cbb5 100644
--- a/src/backend/catalog/objectaddress.c
+++ b/src/backend/catalog/objectaddress.c
@@ -2062,7 +2062,7 @@ pg_get_object_address(PG_FUNCTION_ARGS)
}
/*
- * get_object_address is pretty sensitive to the length its input lists;
+ * get_object_address is pretty sensitive to the length of its input lists;
* check that they're what it wants.
*/
switch (type)
diff --git a/src/backend/commands/typecmds.c b/src/backend/commands/typecmds.c
index 7746d182589..175ecc8b484 100644
--- a/src/backend/commands/typecmds.c
+++ b/src/backend/commands/typecmds.c
@@ -1990,7 +1990,7 @@ findRangeSubOpclass(List *opcname, Oid subtype)
opcid = GetDefaultOpClass(subtype, BTREE_AM_OID);
if (!OidIsValid(opcid))
{
- /* We spell the error message identically to GetIndexOpClass */
+ /* We spell the error message identically to ResolveOpClass */
ereport(ERROR,
(errcode(ERRCODE_UNDEFINED_OBJECT),
errmsg("data type %s has no default operator class for access method \"%s\"",