forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commiteb5c4e9
committed
Extract the multiplier for CPU process cost of index page into a macro
B-tree, GiST and SP-GiST all charge 50.0 * cpu_operator_cost for processingan index page. Extract this to a macro to avoid repeated magic numbers.Discussion:https://mail.google.com/mail/u/0/?ik=a20b091faa&view=om&permmsgid=msg-f%3A1751459697261369543Author: Ronan Dunklau1 parent57d11ef commiteb5c4e9
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
140 | 140 |
| |
141 | 141 |
| |
142 | 142 |
| |
| 143 | + | |
143 | 144 |
| |
144 | 145 |
| |
145 | 146 |
| |
| |||
6865 | 6866 |
| |
6866 | 6867 |
| |
6867 | 6868 |
| |
6868 |
| - | |
| 6869 | + | |
6869 | 6870 |
| |
6870 | 6871 |
| |
6871 | 6872 |
| |
| |||
7060 | 7061 |
| |
7061 | 7062 |
| |
7062 | 7063 |
| |
7063 |
| - | |
| 7064 | + | |
7064 | 7065 |
| |
7065 | 7066 |
| |
7066 | 7067 |
| |
| |||
7115 | 7116 |
| |
7116 | 7117 |
| |
7117 | 7118 |
| |
7118 |
| - | |
| 7119 | + | |
7119 | 7120 |
| |
7120 | 7121 |
| |
7121 | 7122 |
| |
|
0 commit comments
Comments
(0)