Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita0fefbc

Browse files
committed
Fix a couple minor typos
In commitf0e4475, GetIndexOpClass was renamed to ResolveOpClass, butthe 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 parent676858b commita0fefbc

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 lengthofits 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 toGetIndexOpClass */
1993+
/* We spell the error message identically toResolveOpClass */
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)

[8]ページ先頭

©2009-2025 Movatter.jp