summaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-07-03 11:04:57 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-07-03 11:15:27 +0300
commit9d6352aaae1bf43f06253dcc931534a5254a937a (patch)
tree424b029f4f977af19bff844ca5db994eb045dc45 /src/tutorial/advanced.source
parent0eaa49a5c4848f3f3fa5588dc58cb9af47779fb4 (diff)
Fix pgbench progress report behaviour when pgbench or a query gets stuck.
There were two issues here. First, if a query got stuck so that it took e.g. 5 seconds, and progress interval was 1 second, no progress reports were printed until the query returned. Fix so that we wake up specifically to print the progress report. Secondly, if pgbench got stuck so that it would nevertheless not print a progress report on time, and enough time passes that it's already time to print the next progress report, just skip the one that was missed. Before this patch, it would print the missed one with 0 TPS immediately after the previous one. Fabien Coelho. Backpatch to 9.4, where progress reports were added.
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions