Skip to content

Commit a0fefbc

Browse files
committed
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.
1 parent 676858b commit a0fefbc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/catalog/objectaddress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2062,7 +2062,7 @@ pg_get_object_address(PG_FUNCTION_ARGS)
20622062
}
20632063

20642064
/*
2065-
* get_object_address is pretty sensitive to the length its input lists;
2065+
* get_object_address is pretty sensitive to the length of its input lists;
20662066
* check that they're what it wants.
20672067
*/
20682068
switch (type)

src/backend/commands/typecmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1990,7 +1990,7 @@ findRangeSubOpclass(List *opcname, Oid subtype)
19901990
opcid = GetDefaultOpClass(subtype, BTREE_AM_OID);
19911991
if (!OidIsValid(opcid))
19921992
{
1993-
/* We spell the error message identically to GetIndexOpClass */
1993+
/* We spell the error message identically to ResolveOpClass */
19941994
ereport(ERROR,
19951995
(errcode(ERRCODE_UNDEFINED_OBJECT),
19961996
errmsg("data type %s has no default operator class for access method \"%s\"",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy