- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit47169c2
committed
Avoid possible regression test instability in timestamp.sql.
Concurrent autovacuum could result in a change in the order of thelive rows in timestamp_tbl. While this would not happen with thedefault autovacuum parameters, it's fairly easy to hit ifautovacuum_vacuum_threshold is made small enough to allow autovacto decide to process this table. That's a stumbling block for tryingto exercise autovacuum aggressively using the core regression tests.To fix, replace an unqualified DELETE with a TRUNCATE. There's asimilar DELETE just above (and no order-sensitive queries between),so this doesn't lose any test coverage and might indeed be arguedto improve it.Discussion:https://postgr.es/m/17428.1555348950@sss.pgh.pa.us1 parent1e87198 commit47169c2
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
77 |
| - | |
| 77 | + | |
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 |
| - | |
| 47 | + | |
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
|
0 commit comments
Comments
(0)