aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/cache/lsyscache.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-12-31 03:18:43 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-12-31 03:18:43 +0000
commit2784a5aedf390ef80514b3de2e0027072494743c (patch)
treef4b75849a3e9f7a7fa870fa4f6aef63d7e1dd0a5 /src/backend/utils/cache/lsyscache.c
parentf35e1c8c1f2ed2a238e7d6f5a9d8d69e075889a2 (diff)
downloadpostgresql-2784a5aedf390ef80514b3de2e0027072494743c.tar.gz
postgresql-2784a5aedf390ef80514b3de2e0027072494743c.zip
Clean up datatypes and comments for op_class() routine.
Diffstat (limited to 'src/backend/utils/cache/lsyscache.c')
-rw-r--r--src/backend/utils/cache/lsyscache.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/backend/utils/cache/lsyscache.c b/src/backend/utils/cache/lsyscache.c
index ab9f74c0ae1..1c34486b749 100644
--- a/src/backend/utils/cache/lsyscache.c
+++ b/src/backend/utils/cache/lsyscache.c
@@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.36 1999/11/22 17:56:32 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.37 1999/12/31 03:18:43 tgl Exp $
*
* NOTES
* Eventually, the index information should go through here, too.
@@ -25,15 +25,16 @@
/*
* op_class -
*
- * Return t iff operator 'opno' is in operator class 'opclass'.
+ * Return t iff operator 'opid' is in operator class 'opclass' for
+ * access method 'amopid'.
*
*/
bool
-op_class(Oid oprno, int32 opclass, Oid amopid)
+op_class(Oid opid, Oid opclass, Oid amopid)
{
if (HeapTupleIsValid(SearchSysCacheTuple(AMOPOPID,
ObjectIdGetDatum(opclass),
- ObjectIdGetDatum(oprno),
+ ObjectIdGetDatum(opid),
ObjectIdGetDatum(amopid),
0)))
return true;