diff options
author | Tom Lane | 2000-01-22 23:50:30 +0000 |
---|---|---|
committer | Tom Lane | 2000-01-22 23:50:30 +0000 |
commit | 71ed7eb4941ddb32700a51a8b8b3403eceeca4a9 (patch) | |
tree | e2452e2e308d6066c2c7e255eab5332cfcb4baa8 /src/include/access | |
parent | 78845177bb8839a2a582b92de2b46ce7d3f16df4 (diff) |
Revise handling of index-type-specific indexscan cost estimation, per
pghackers discussion of 5-Jan-2000. The amopselect and amopnpages
estimators are gone, and in their place is a per-AM amcostestimate
procedure (linked to from pg_am, not pg_amop).
Diffstat (limited to 'src/include/access')
-rw-r--r-- | src/include/access/genam.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/access/genam.h b/src/include/access/genam.h index 76200f215e2..81b38da6cc1 100644 --- a/src/include/access/genam.h +++ b/src/include/access/genam.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: genam.h,v 1.21 1999/12/30 05:05:13 tgl Exp $ + * $Id: genam.h,v 1.22 2000/01/22 23:50:22 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -38,6 +38,7 @@ extern void index_markpos(IndexScanDesc scan); extern void index_restrpos(IndexScanDesc scan); extern RetrieveIndexResult index_getnext(IndexScanDesc scan, ScanDirection direction); +extern RegProcedure index_cost_estimator(Relation relation); extern RegProcedure index_getprocid(Relation irel, AttrNumber attnum, uint16 procnum); extern Datum GetIndexValue(HeapTuple tuple, TupleDesc hTupDesc, |