forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb5e0a2a
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 parent60dd40b commitb5e0a2a
File tree
12 files changed
+50
-12
lines changed- src/test/regress
- expected
- input
- output
- sql
12 files changed
+50
-12
lines changedLines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
506 | 506 |
| |
507 | 507 |
| |
508 | 508 |
| |
509 |
| - | |
510 | 509 |
| |
511 | 510 |
| |
512 | 511 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
140 | 140 |
| |
141 | 141 |
| |
142 | 142 |
| |
143 |
| - | |
144 | 143 |
| |
145 | 144 |
| |
146 | 145 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
421 | 421 |
| |
422 | 422 |
| |
423 | 423 |
| |
424 |
| - | |
425 | 424 |
| |
426 | 425 |
| |
427 | 426 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2715 | 2715 |
| |
2716 | 2716 |
| |
2717 | 2717 |
| |
2718 |
| - | |
| 2718 | + | |
2719 | 2719 |
| |
2720 | 2720 |
| |
2721 | 2721 |
| |
|
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 | |
---|---|---|---|
| |||
220 | 220 |
| |
221 | 221 |
| |
222 | 222 |
| |
223 |
| - | |
224 | 223 |
| |
225 | 224 |
| |
226 | 225 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
178 | 178 |
| |
179 | 179 |
| |
180 | 180 |
| |
181 |
| - | |
182 | 181 |
| |
183 | 182 |
| |
184 | 183 |
| |
|
Lines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
196 | 196 |
| |
197 | 197 |
| |
198 | 198 |
| |
199 |
| - | |
200 |
| - | |
201 | 199 |
| |
202 | 200 |
| |
203 | 201 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
898 | 898 |
| |
899 | 899 |
| |
900 | 900 |
| |
901 |
| - | |
| 901 | + | |
902 | 902 |
| |
903 | 903 |
| |
904 | 904 |
| |
|
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)