In commit
f0e4475, GetIndexOpClass was renamed to ResolveOpClass, but
the comment in typecmds.c didn't get the memo.
In objectaddress.c, missing 'of' in a comment.
Both noticed by Vik Fearing, patch is mine though.
}
/*
- * 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)
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\"",