forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitae060a5
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 parent522baf1 commitae060a5
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3272 | 3272 |
| |
3273 | 3273 |
| |
3274 | 3274 |
| |
3275 |
| - | |
| 3275 | + | |
3276 | 3276 |
| |
3277 |
| - | |
3278 |
| - | |
| 3277 | + | |
| 3278 | + | |
3279 | 3279 |
| |
3280 | 3280 |
| |
3281 | 3281 |
| |
|
0 commit comments
Comments
(0)