forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitaf28744
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 parent996c92b commitaf28744
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3185 | 3185 | | |
3186 | 3186 | | |
3187 | 3187 | | |
3188 | | - | |
| 3188 | + | |
3189 | 3189 | | |
3190 | | - | |
3191 | | - | |
| 3190 | + | |
| 3191 | + | |
3192 | 3192 | | |
3193 | 3193 | | |
3194 | 3194 | | |
| |||
0 commit comments
Comments
(0)