Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6ea9516

Browse files
committed
Fix comment related to calculation location of total_table_pages
As of commitc6e4133, the calculation happens in make_one_rel() and notquery_planner().Author: Amit LangoteDiscussion:https://postgr.es/m/c7a04a90-42e6-28a4-811a-a7e352831ba1@lab.ntt.co.jp
1 parent7215efd commit6ea9516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/optimizer/path/costsize.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ extract_nonindex_conditions(List *qual_clauses, List *indexclauses)
815815
* product rather than calculating it here. "pages" is the number of pages
816816
* in the object under consideration (either an index or a table).
817817
* "index_pages" is the amount to add to the total table space, which was
818-
* computed for us byquery_planner.
818+
* computed for us bymake_one_rel.
819819
*
820820
* Caller is expected to have ensured that tuples_fetched is greater than zero
821821
* and rounded to integer (see clamp_row_est). The result will likewise be

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp