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

Commit2784a5a

Browse files
committed
Clean up datatypes and comments for op_class() routine.
1 parentf35e1c8 commit2784a5a

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

‎src/backend/utils/cache/lsyscache.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Copyright (c) 1994, Regents of the University of California
77
*
88
* IDENTIFICATION
9-
* $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.36 1999/11/22 17:56:32 momjian Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.37 1999/12/31 03:18:43 tgl Exp $
1010
*
1111
* NOTES
1212
* Eventually, the index information should go through here, too.
@@ -25,15 +25,16 @@
2525
/*
2626
* op_class -
2727
*
28-
*Return t iff operator 'opno' is in operator class 'opclass'.
28+
*Return t iff operator 'opid' is in operator class 'opclass' for
29+
*access method 'amopid'.
2930
*
3031
*/
3132
bool
32-
op_class(Oidoprno,int32opclass,Oidamopid)
33+
op_class(Oidopid,Oidopclass,Oidamopid)
3334
{
3435
if (HeapTupleIsValid(SearchSysCacheTuple(AMOPOPID,
3536
ObjectIdGetDatum(opclass),
36-
ObjectIdGetDatum(oprno),
37+
ObjectIdGetDatum(opid),
3738
ObjectIdGetDatum(amopid),
3839
0)))
3940
return true;

‎src/include/utils/lsyscache.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
* $Id: lsyscache.h,v 1.20 1999/08/16 02:06:23 tgl Exp $
8+
* $Id: lsyscache.h,v 1.21 1999/12/31 03:18:42 tgl Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -14,7 +14,7 @@
1414

1515
#include"access/htup.h"
1616

17-
externboolop_class(Oidoprno,int32opclass,Oidamopid);
17+
externboolop_class(Oidopid,Oidopclass,Oidamopid);
1818
externchar*get_attname(Oidrelid,AttrNumberattnum);
1919
externAttrNumberget_attnum(Oidrelid,char*attname);
2020
externOidget_atttype(Oidrelid,AttrNumberattnum);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp