Content-Length: 287938 | pFad | http://github.com/postgrespro/postgres_cluster/commit/a0fefbcb718fedd8f0198f74c3ae27933c92b090

03 Fix a couple minor typos · postgrespro/postgres_cluster@a0fefbc · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/a0fefbcb718fedd8f0198f74c3ae27933c92b090

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy