aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-09-04 15:46:45 +0900
committerMichael Paquier <michael@paquier.xyz>2019-09-04 15:46:45 +0900
commit4c3e750ab4b5f1900abfa7000aad5e6322f47b5d (patch)
tree758fa712ec7389887687cfa14ce42c6d9f9b6555 /src/backend/access/gist
parent64eb426afc344600d7d4b9944ed7c3be7ed1812d (diff)
downloadpostgresql-4c3e750ab4b5f1900abfa7000aad5e6322f47b5d.tar.gz
postgresql-4c3e750ab4b5f1900abfa7000aad5e6322f47b5d.zip
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 command were started for reporting. This resets the fields only if a command is registered for progress reporting, and only if track_activities is enabled. Author: Masahiho Sawada Discussion: https://postgr.es/m/CAD21AoCry_vJ0E-m5oxJXGL3pnos-xYGCzF95rK5Bbi3Uf-rpA@mail.gmail.com Backpatch-through: 9.6
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions