pgsql: Fix thinko when ending progress report for a backend

2019-09-03 Thread Michael Paquier
Fix thinko when ending progress report for a backend The logic ending progress reporting for a backend entry introduced by b6fb647 causes callers of pgstat_progress_end_command() to do some extra work when track_activities is enabled as the process fields are reset in the backend entry even if no

pgsql: Fix thinko when ending progress report for a backend

2019-09-03 Thread Michael Paquier
Fix thinko when ending progress report for a backend The logic ending progress reporting for a backend entry introduced by b6fb647 causes callers of pgstat_progress_end_command() to do some extra work when track_activities is enabled as the process fields are reset in the backend entry even if no

pgsql: Fix thinko when ending progress report for a backend

2019-09-03 Thread Michael Paquier
Fix thinko when ending progress report for a backend The logic ending progress reporting for a backend entry introduced by b6fb647 causes callers of pgstat_progress_end_command() to do some extra work when track_activities is enabled as the process fields are reset in the backend entry even if no

pgsql: Fix thinko when ending progress report for a backend

2019-09-03 Thread Michael Paquier
Fix thinko when ending progress report for a backend The logic ending progress reporting for a backend entry introduced by b6fb647 causes callers of pgstat_progress_end_command() to do some extra work when track_activities is enabled as the process fields are reset in the backend entry even if no

pgsql: Fix thinko when ending progress report for a backend

2019-09-03 Thread Michael Paquier
Fix thinko when ending progress report for a backend The logic ending progress reporting for a backend entry introduced by b6fb647 causes callers of pgstat_progress_end_command() to do some extra work when track_activities is enabled as the process fields are reset in the backend entry even if no