summaryrefslogtreecommitdiff
path: root/src/include/regex/regex.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-04-03 14:13:34 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2013-04-03 14:13:34 -0400
commita0c2492b957a7e89b997d03d0d62f37fee7aafdf (patch)
treeaa3af87e3208b6256cb45b48691d955f2266be60 /src/include/regex/regex.h
parente084b1446ffa9ec09c3774221011ed686a8b1e7d (diff)
Avoid updating our PgBackendStatus entry when track_activities is off.
The point of turning off track_activities is to avoid this reporting overhead, but a thinko in commit 4f42b546fd87a80be30c53a0f2c897acb826ad52 caused pgstat_report_activity() to perform half of its updates anyway. Fix that, and also make sure that we clear all the now-disabled fields when transitioning to the non-reporting state.
Diffstat (limited to 'src/include/regex/regex.h')
0 files changed, 0 insertions, 0 deletions