summaryrefslogtreecommitdiff
path: root/src/include/optimizer/plancat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/optimizer/plancat.h')
-rw-r--r--src/include/optimizer/plancat.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/include/optimizer/plancat.h b/src/include/optimizer/plancat.h
index 1b57c575e1..1a2686e3d3 100644
--- a/src/include/optimizer/plancat.h
+++ b/src/include/optimizer/plancat.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: plancat.h,v 1.4 1997/09/07 04:59:15 momjian Exp $
+ * $Id: plancat.h,v 1.5 1997/09/08 02:37:54 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -21,17 +21,17 @@
*/
typedef struct IdxInfoRetval
{
- Oid relid; /* OID of the index relation (not the OID
+ Oid relid; /* OID of the index relation (not the OID
* of the relation being indexed) */
- Oid relam; /* OID of the pg_am of this index */
- int pages; /* number of pages in the index relation */
- int tuples; /* number of tuples in the index relation */
- int *indexkeys; /* keys over which we're indexing */
- Oid *orderOprs; /* operators used for ordering purposes */
- Oid *classlist; /* classes of AM operators */
- Oid indproc;
- Node *indpred;
-} IdxInfoRetval;
+ Oid relam; /* OID of the pg_am of this index */
+ int pages; /* number of pages in the index relation */
+ int tuples; /* number of tuples in the index relation */
+ int *indexkeys; /* keys over which we're indexing */
+ Oid *orderOprs; /* operators used for ordering purposes */
+ Oid *classlist; /* classes of AM operators */
+ Oid indproc;
+ Node *indpred;
+} IdxInfoRetval;
extern void
@@ -40,11 +40,11 @@ relation_info(Query * root,
bool * hashindex, int *pages,
int *tuples);
-extern bool
+extern bool
index_info(Query * root,
bool first, int relid, IdxInfoRetval * info);
-extern Cost
+extern Cost
restriction_selectivity(Oid functionObjectId,
Oid operatorObjectId,
Oid relationObjectId,
@@ -57,12 +57,12 @@ index_selectivity(Oid indid, Oid * classes, List * opnos,
Oid relid, List * attnos, List * values, List * flags,
int32 nkeys, float *idxPages, float *idxSelec);
-extern Cost
+extern Cost
join_selectivity(Oid functionObjectId, Oid operatorObjectId,
Oid relationObjectId1, AttrNumber attributeNumber1,
Oid relationObjectId2, AttrNumber attributeNumber2);
-extern List *find_inheritance_children(Oid inhparent);
-extern List *VersionGetParents(Oid verrelid);
+extern List *find_inheritance_children(Oid inhparent);
+extern List *VersionGetParents(Oid verrelid);
#endif /* PLANCAT_H */