diff options
| author | Michael Paquier <michael@paquier.xyz> | 2023-05-02 12:23:08 +0900 |
|---|---|---|
| committer | Michael Paquier <michael@paquier.xyz> | 2023-05-02 12:23:08 +0900 |
| commit | 8961cb9a0315fa23458587b3df547ca8d8e00f85 (patch) | |
| tree | f9ea45d43d53950d56062dc9eb0cebe547503718 /src/backend/commands/opclasscmds.c | |
| parent | 6fd8ae6888847da842ee4810fcd83b013cbed27f (diff) | |
| download | postgresql-8961cb9a0315fa23458587b3df547ca8d8e00f85.tar.gz | |
Fix typos in comments
The changes done in this commit impact comments with no direct
user-visible changes, with fixes for incorrect function, variable or
structure names.
Author: Alexander Lakhin
Discussion: https://postgr.es/m/e8c38840-596a-83d6-bd8d-cebc51111572@gmail.com
Diffstat (limited to 'src/backend/commands/opclasscmds.c')
| -rw-r--r-- | src/backend/commands/opclasscmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/opclasscmds.c b/src/backend/commands/opclasscmds.c index 864e35e45b..5f7ee23886 100644 --- a/src/backend/commands/opclasscmds.c +++ b/src/backend/commands/opclasscmds.c @@ -819,7 +819,7 @@ AlterOpFamily(AlterOpFamilyStmt *stmt) Oid amoid, /* our AM's oid */ opfamilyoid; /* oid of opfamily */ int maxOpNumber, /* amstrategies value */ - optsProcNumber, /* amopclassopts value */ + optsProcNumber, /* amoptsprocnum value */ maxProcNumber; /* amsupport value */ HeapTuple tup; Form_pg_am amform; @@ -1321,7 +1321,7 @@ assignProcTypes(OpFamilyMember *member, Oid amoid, Oid typeoid, /* * pg_amproc functions are indexed by (lefttype, righttype), but * an equalimage function can only be called at CREATE INDEX time. - * The same opclass opcintype OID is always used for leftype and + * The same opclass opcintype OID is always used for lefttype and * righttype. Providing a cross-type routine isn't sensible. * Reject cross-type ALTER OPERATOR FAMILY ... ADD FUNCTION 4 * statements here. |
