Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
2784a5ae
Commit
2784a5ae
authored
Dec 31, 1999
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up datatypes and comments for op_class() routine.
parent
f35e1c8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
src/backend/utils/cache/lsyscache.c
src/backend/utils/cache/lsyscache.c
+5
-4
src/include/utils/lsyscache.h
src/include/utils/lsyscache.h
+2
-2
No files found.
src/backend/utils/cache/lsyscache.c
View file @
2784a5ae
...
...
@@ -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.3
6 1999/11/22 17:56:32 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.3
7 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
op
rno
,
int32
opclass
,
Oid
amopid
)
op_class
(
Oid
op
id
,
Oid
opclass
,
Oid
amopid
)
{
if
(
HeapTupleIsValid
(
SearchSysCacheTuple
(
AMOPOPID
,
ObjectIdGetDatum
(
opclass
),
ObjectIdGetDatum
(
op
rno
),
ObjectIdGetDatum
(
op
id
),
ObjectIdGetDatum
(
amopid
),
0
)))
return
true
;
...
...
src/include/utils/lsyscache.h
View file @
2784a5ae
...
...
@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: lsyscache.h,v 1.2
0 1999/08/16 02:06:23
tgl Exp $
* $Id: lsyscache.h,v 1.2
1 1999/12/31 03:18:42
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -14,7 +14,7 @@
#include "access/htup.h"
extern
bool
op_class
(
Oid
op
rno
,
int32
opclass
,
Oid
amopid
);
extern
bool
op_class
(
Oid
op
id
,
Oid
opclass
,
Oid
amopid
);
extern
char
*
get_attname
(
Oid
relid
,
AttrNumber
attnum
);
extern
AttrNumber
get_attnum
(
Oid
relid
,
char
*
attname
);
extern
Oid
get_atttype
(
Oid
relid
,
AttrNumber
attnum
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment