forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2e5e856
committed
Marginal cleanup in arrangements for ensuring StrategyHintVacuum is cleared
after an error during VACUUM. We have a PG_TRY block anyway around the onlycall sites, so just reset it in the CATCH clause instead of havingAtEOXact_Buffers blindly do it during xact end. I think the old code wasactively wrong for the case of a failure during ANALYZE inside asubtransaction --- the flag wouldn't get cleared until main transaction end.Probably not worth back-patching though.1 parentf204274 commit2e5e856
2 files changed
+4
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| 463 | + | |
| 464 | + | |
463 | 465 | | |
464 | 466 | | |
465 | 467 | | |
| |||
1173 | 1175 | | |
1174 | 1176 | | |
1175 | 1177 | | |
1176 | | - | |
1177 | | - | |
1178 | 1178 | | |
1179 | 1179 | | |
1180 | 1180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
1171 | 1171 | | |
1172 | 1172 | | |
1173 | 1173 | | |
1174 | | - | |
1175 | | - | |
1176 | | - | |
1177 | 1174 | | |
1178 | 1175 | | |
1179 | 1176 | | |
| |||
0 commit comments
Comments
(0)