summaryrefslogtreecommitdiff
path: root/src/include/optimizer/plancat.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-07-25 23:07:26 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-07-25 23:07:26 +0000
commit49ed4dd77910f5993e5c4100bf0ca48f893a898e (patch)
treea8f923e9d594714cf392c81f9e05f4fbd10789bf /src/include/optimizer/plancat.h
parent8ae29a1d40749a69b760aeab1f67a1265c234b8e (diff)
downloadpostgresql-49ed4dd77910f5993e5c4100bf0ca48f893a898e.tar.gz
Further work on planning of indexscans. Cleaned up interfaces
to index_selectivity so that it can be handed an indexqual clause list rather than a bunch of assorted derivative data.
Diffstat (limited to 'src/include/optimizer/plancat.h')
-rw-r--r--src/include/optimizer/plancat.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/optimizer/plancat.h b/src/include/optimizer/plancat.h
index 90c5e3e099..9a12ecb1d8 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.12 1999/07/15 23:03:58 momjian Exp $
+ * $Id: plancat.h,v 1.13 1999/07/25 23:07:23 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -46,12 +46,12 @@ extern Cost restriction_selectivity(Oid functionObjectId,
Oid operatorObjectId,
Oid relationObjectId,
AttrNumber attributeNumber,
- char *constValue,
- int32 constFlag);
+ Datum constValue,
+ int constFlag);
-extern void index_selectivity(Oid indid, Oid *classes, List *opnos,
- Oid relid, List *attnos, List *values, List *flags,
- int32 nkeys, float *idxPages, float *idxSelec);
+extern void index_selectivity(Query *root, int relid, Oid indexid,
+ List *indexquals,
+ float *idxPages, float *idxSelec);
extern Cost join_selectivity(Oid functionObjectId, Oid operatorObjectId,
Oid relationObjectId1, AttrNumber attributeNumber1,