aboutsummaryrefslogtreecommitdiff
path: root/src/backend/optimizer/path/indxpath.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-04-21 02:28:02 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-04-21 02:28:02 +0000
commite6f7edb9d554289acfdd5ada4c950b7609daf288 (patch)
tree5a34af565cb552190157310e3784420cd649624c /src/backend/optimizer/path/indxpath.c
parent2f8c7c866c6f44d9926d949638889f8aa44d53b0 (diff)
downloadpostgresql-e6f7edb9d554289acfdd5ada4c950b7609daf288.tar.gz
postgresql-e6f7edb9d554289acfdd5ada4c950b7609daf288.zip
Install some slightly realistic cost estimation for bitmap index scans.
Diffstat (limited to 'src/backend/optimizer/path/indxpath.c')
-rw-r--r--src/backend/optimizer/path/indxpath.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/optimizer/path/indxpath.c b/src/backend/optimizer/path/indxpath.c
index 937e2aed80e..e387a7bd768 100644
--- a/src/backend/optimizer/path/indxpath.c
+++ b/src/backend/optimizer/path/indxpath.c
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/optimizer/path/indxpath.c,v 1.174 2005/04/20 21:48:04 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/optimizer/path/indxpath.c,v 1.175 2005/04/21 02:28:01 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1710,7 +1710,7 @@ make_innerjoin_index_path(Query *root,
/* Like costsize.c, force estimate to be at least one row */
pathnode->rows = clamp_row_est(pathnode->rows);
- cost_index(&pathnode->path, root, index, indexquals, true);
+ cost_index(pathnode, root, index, indexquals, true);
return (Path *) pathnode;
}