From a0fefbcb718fedd8f0198f74c3ae27933c92b090 Mon Sep 17 00:00:00 2001 From: Stephen Frost Date: Fri, 20 Apr 2018 19:04:54 -0400 Subject: Fix a couple minor typos 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. --- src/backend/commands/typecmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/commands/typecmds.c') 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\"", -- cgit v1.2.3