forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7d6f5dd
committed
Tweak placement of explicit ANALYZE commands in the regression tests.
Make the COPY test, which loads most of the large static tables used inthe tests, also explicitly ANALYZE those tables. This allows us to getrid of various ad-hoc, and rather redundant, ANALYZE commands that hadgotten stuck into various test scripts over time to ensure we gotconsistent plan choices. (We could have done a database-wide ANALYZE,but that would cause stats to get attached to the small static tablestoo, which results in plan changes compared to the historical behavior.I'm not sure that's a good idea, so not going that far for now.)Back-patch to 9.0, since 9.0 and 9.1 are currently sometimes failingregression tests for lack of an "ANALYZE tenk1" in the subselect test.There's no need for this in 8.4 since we didn't print any plans backthen.1 parent41e9990 commit7d6f5dd
File tree
6 files changed
+48
-5
lines changed- src/test/regress
- expected
- input
- output
- sql
6 files changed
+48
-5
lines changedLines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
137 |
| - | |
138 | 137 |
| |
139 | 138 |
| |
140 | 139 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2129 | 2129 |
| |
2130 | 2130 |
| |
2131 | 2131 |
| |
2132 |
| - | |
2133 | 2132 |
| |
2134 | 2133 |
| |
2135 | 2134 |
| |
|
Lines changed: 25 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
63 | 88 |
| |
64 | 89 |
| |
65 | 90 |
| |
|
Lines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
37 | 60 |
| |
38 | 61 |
| |
39 | 62 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
173 | 173 |
| |
174 | 174 |
| |
175 | 175 |
| |
176 |
| - | |
177 | 176 |
| |
178 | 177 |
| |
179 | 178 |
| |
|
Lines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
330 | 330 |
| |
331 | 331 |
| |
332 | 332 |
| |
333 |
| - | |
334 |
| - | |
335 | 333 |
| |
336 | 334 |
| |
337 | 335 |
| |
|
0 commit comments
Comments
(0)