forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0cc0d08
committed
Document that get_attstatsslot/free_attstatsslot only need to be passed
valid type information if they are asked to fetch the values part of apg_statistic slot; these arguments are unneeded if fetching only thenumbers part. Use this to save a catcache lookup in btcostestimate,which is looking like a bit of a hotspot in recent profiling. Not abig savings, but since it's essentially free, might as well do it.1 parent07e6f93 commit0cc0d08
2 files changed
+12
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
4466 | 4466 | | |
4467 | 4467 | | |
4468 | 4468 | | |
4469 | | - | |
4470 | | - | |
4471 | 4469 | | |
4472 | 4470 | | |
4473 | 4471 | | |
4474 | | - | |
4475 | | - | |
4476 | | - | |
4477 | | - | |
| 4472 | + | |
4478 | 4473 | | |
4479 | 4474 | | |
4480 | 4475 | | |
| |||
4489 | 4484 | | |
4490 | 4485 | | |
4491 | 4486 | | |
4492 | | - | |
| 4487 | + | |
4493 | 4488 | | |
4494 | 4489 | | |
4495 | 4490 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
1841 | 1841 | | |
1842 | 1842 | | |
1843 | 1843 | | |
1844 | | - | |
1845 | | - | |
| 1844 | + | |
| 1845 | + | |
1846 | 1846 | | |
1847 | 1847 | | |
1848 | 1848 | | |
| |||
1960 | 1960 | | |
1961 | 1961 | | |
1962 | 1962 | | |
| 1963 | + | |
| 1964 | + | |
| 1965 | + | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
1963 | 1969 | | |
1964 | 1970 | | |
1965 | 1971 | | |
| |||
0 commit comments
Comments
(0)