mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Install some slightly realistic cost estimation for bitmap index scans.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user