aboutsummaryrefslogtreecommitdiff
path: root/src/backend/optimizer/util/pathnode.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/util/pathnode.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/util/pathnode.c')
-rw-r--r--src/backend/optimizer/util/pathnode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/optimizer/util/pathnode.c b/src/backend/optimizer/util/pathnode.c
index ec0fc8a29ab..823486e2f3b 100644
--- a/src/backend/optimizer/util/pathnode.c
+++ b/src/backend/optimizer/util/pathnode.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/optimizer/util/pathnode.c,v 1.116 2005/04/19 22:35:17 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/optimizer/util/pathnode.c,v 1.117 2005/04/21 02:28:01 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -466,7 +466,7 @@ create_index_path(Query *root,
*/
pathnode->rows = index->rel->rows;
- cost_index(&pathnode->path, root, index, indexquals, false);
+ cost_index(pathnode, root, index, indexquals, false);
return pathnode;
}