Commit 6ea95166 authored by Michael Paquier's avatar Michael Paquier

Fix comment related to calculation location of total_table_pages

As of commit c6e4133f, the calculation happens in make_one_rel() and not
query_planner().

Author: Amit Langote
Discussion: https://postgr.es/m/c7a04a90-42e6-28a4-811a-a7e352831ba1@lab.ntt.co.jp
parent 7215efdc
...@@ -815,7 +815,7 @@ extract_nonindex_conditions(List *qual_clauses, List *indexclauses) ...@@ -815,7 +815,7 @@ extract_nonindex_conditions(List *qual_clauses, List *indexclauses)
* product rather than calculating it here. "pages" is the number of pages * product rather than calculating it here. "pages" is the number of pages
* in the object under consideration (either an index or a table). * in the object under consideration (either an index or a table).
* "index_pages" is the amount to add to the total table space, which was * "index_pages" is the amount to add to the total table space, which was
* computed for us by query_planner. * computed for us by make_one_rel.
* *
* Caller is expected to have ensured that tuples_fetched is greater than zero * Caller is expected to have ensured that tuples_fetched is greater than zero
* and rounded to integer (see clamp_row_est). The result will likewise be * and rounded to integer (see clamp_row_est). The result will likewise be
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment