forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4950f09
committed
Fix thinko when ending progress report for a backend
The logic ending progress reporting for a backend entry introduced byb6fb647 causes callers of pgstat_progress_end_command() to do some extrawork when track_activities is enabled as the process fields are reset inthe backend entry even if no command were started for reporting.This resets the fields only if a command is registered for progressreporting, and only if track_activities is enabled.Author: Masahiho SawadaDiscussion:https://postgr.es/m/CAD21AoCry_vJ0E-m5oxJXGL3pnos-xYGCzF95rK5Bbi3Uf-rpA@mail.gmail.comBackpatch-through: 9.61 parentdbbae33 commit4950f09
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3181 | 3181 |
| |
3182 | 3182 |
| |
3183 | 3183 |
| |
3184 |
| - | |
| 3184 | + | |
3185 | 3185 |
| |
3186 |
| - | |
3187 |
| - | |
| 3186 | + | |
| 3187 | + | |
3188 | 3188 |
| |
3189 | 3189 |
| |
3190 | 3190 |
| |
|
0 commit comments
Comments
(0)