forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit649b5ec
committed
Add the ability to store inheritance-tree statistics in pg_statistic,
and teach ANALYZE to compute such stats for tables that have subclasses.Per my proposal of yesterday.autovacuum still needs to be taught about running ANALYZE on parent tableswhen their subclasses change, but the feature is useful even without that.1 parent84d723b commit649b5ec
File tree
18 files changed
+407
-177
lines changed- doc/src/sgml
- src
- backend
- catalog
- commands
- executor
- nodes
- optimizer/plan
- utils
- adt
- cache
- include
- catalog
- nodes
- utils
- test/regress/expected
18 files changed
+407
-177
lines changedLines changed: 33 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
4506 | 4506 |
| |
4507 | 4507 |
| |
4508 | 4508 |
| |
4509 |
| - | |
4510 |
| - | |
| 4509 | + | |
4511 | 4510 |
| |
4512 | 4511 |
| |
4513 | 4512 |
| |
4514 | 4513 |
| |
| 4514 | + | |
| 4515 | + | |
| 4516 | + | |
| 4517 | + | |
| 4518 | + | |
| 4519 | + | |
| 4520 | + | |
| 4521 | + | |
| 4522 | + | |
| 4523 | + | |
| 4524 | + | |
| 4525 | + | |
| 4526 | + | |
4515 | 4527 |
| |
4516 | 4528 |
| |
4517 | 4529 |
| |
4518 | 4530 |
| |
4519 | 4531 |
| |
4520 | 4532 |
| |
4521 |
| - | |
| 4533 | + | |
| 4534 | + | |
4522 | 4535 |
| |
4523 | 4536 |
| |
4524 | 4537 |
| |
| |||
4572 | 4585 |
| |
4573 | 4586 |
| |
4574 | 4587 |
| |
| 4588 | + | |
| 4589 | + | |
| 4590 | + | |
| 4591 | + | |
| 4592 | + | |
| 4593 | + | |
| 4594 | + | |
| 4595 | + | |
4575 | 4596 |
| |
4576 | 4597 |
| |
4577 | 4598 |
| |
| |||
7114 | 7135 |
| |
7115 | 7136 |
| |
7116 | 7137 |
| |
| 7138 | + | |
| 7139 | + | |
| 7140 | + | |
| 7141 | + | |
| 7142 | + | |
| 7143 | + | |
| 7144 | + | |
| 7145 | + | |
7117 | 7146 |
| |
7118 | 7147 |
| |
7119 | 7148 |
| |
|
Lines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
2314 | 2314 |
| |
2315 | 2315 |
| |
2316 | 2316 |
| |
2317 |
| - | |
| 2317 | + | |
2318 | 2318 |
| |
2319 | 2319 |
| |
2320 | 2320 |
| |
| |||
2344 | 2344 |
| |
2345 | 2345 |
| |
2346 | 2346 |
| |
2347 |
| - | |
| 2347 | + | |
2348 | 2348 |
| |
2349 | 2349 |
| |
| 2350 | + | |
2350 | 2351 |
| |
2351 | 2352 |
| |
2352 | 2353 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
| 112 | + | |
112 | 113 |
| |
113 | 114 |
| |
114 | 115 |
| |
|
0 commit comments
Comments
(0)