|
8 | 8 |
|
9 | 9 | issues_sql_like(
|
10 | 10 | [ 'vacuumdb', '--analyze-in-stages', 'postgres' ],
|
11 |
| -qr/.*statement:\ SET\ default_statistics_target=1;\ SET\ vacuum_cost_delay=0; |
12 |
| - .*statement:\ ANALYZE.* |
| 11 | +qr/statement:\ SET\ default_statistics_target=1;\ SET\ vacuum_cost_delay=0; |
| 12 | + .*statement:\ ANALYZE |
13 | 13 | .*statement:\ SET\ default_statistics_target=10;\ RESET\ vacuum_cost_delay;
|
14 |
| - .*statement:\ ANALYZE.* |
| 14 | + .*statement:\ ANALYZE |
15 | 15 | .*statement:\ RESET\ default_statistics_target;
|
16 | 16 | .*statement:\ ANALYZE/sx,
|
17 | 17 | 'analyze three times');
|
18 | 18 |
|
19 | 19 |
|
20 | 20 | issues_sql_like(
|
21 | 21 | [ 'vacuumdb', '--analyze-in-stages', '--all' ],
|
22 |
| - qr/.*statement:\ SET\ default_statistics_target=1;\ SET\ vacuum_cost_delay=0; |
23 |
| - .*statement:\ ANALYZE.* |
| 22 | + qr/statement:\ SET\ default_statistics_target=1;\ SET\ vacuum_cost_delay=0; |
| 23 | + .*statement:\ ANALYZE |
24 | 24 | .*statement:\ SET\ default_statistics_target=1;\ SET\ vacuum_cost_delay=0;
|
25 |
| - .*statement:\ ANALYZE.* |
| 25 | + .*statement:\ ANALYZE |
26 | 26 | .*statement:\ SET\ default_statistics_target=10;\ RESET\ vacuum_cost_delay;
|
27 |
| - .*statement:\ ANALYZE.* |
| 27 | + .*statement:\ ANALYZE |
28 | 28 | .*statement:\ SET\ default_statistics_target=10;\ RESET\ vacuum_cost_delay;
|
29 |
| - .*statement:\ ANALYZE.* |
| 29 | + .*statement:\ ANALYZE |
30 | 30 | .*statement:\ RESET\ default_statistics_target;
|
31 |
| - .*statement:\ ANALYZE.* |
| 31 | + .*statement:\ ANALYZE |
32 | 32 | .*statement:\ RESET\ default_statistics_target;
|
33 | 33 | .*statement:\ ANALYZE/sx,
|
34 | 34 | 'analyze more than one database in stages');
|
0 commit comments