forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4d916dd
committed
Stabilize test of BRIN parallel create
The test for parallel create of BRIN indexes added by commit8225c2fhappens to be unstable - a background transaction (e.g. auto-analyze)may hold back global xmin for the initial VACUUM / CREATE INDEX. If thecleanup happens before the next CREATE INDEX, the indexes will not beexactly the same.This is the same issue ase2933a6, so fix it the same way by makingthe table TEMPORARY, which uses an up-to-date cutoff xmin that is notheld back by other processes.Reported by Alexander Lakhin, who also suggested the fix.Author: Alexander LakhinDiscussion:https://postgr.es/m/b58901cd-a7cc-29c6-e2b1-e3d7317c3c69@gmail.comDiscussion:https://postgr.es/m/2892135.1668976646@sss.pgh.pa.us1 parent03107b4 commit4d916dd
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
112 |
| - | |
| 112 | + | |
113 | 113 |
| |
114 | 114 |
| |
115 | 115 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 |
| - | |
| 59 | + | |
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
|
0 commit comments
Comments
(0)