diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-07-30 14:50:51 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-07-30 14:50:51 +0300 |
commit | 5515ec0b3a9425a0c0e36e26b5774c1568f22b3a (patch) | |
tree | d96ec8345b91a16eab72a53644a708f04649f688 /src/backend/executor/nodeHash.c | |
parent | a2932283c2a39efd2f713f647c9f7f3d34123bb3 (diff) | |
download | postgresql-5515ec0b3a9425a0c0e36e26b5774c1568f22b3a.tar.gz postgresql-5515ec0b3a9425a0c0e36e26b5774c1568f22b3a.zip |
Fix calculation of latency of pgbench backslash commands.
When we loop back to the top of doCustom after processing a backslash
command, we must reset the "now" timestamp, because that's used to
calculate the time spent executing the previous command.
Report and fix by Fabien Coelho. Backpatch to 9.5, where this was broken.
Diffstat (limited to 'src/backend/executor/nodeHash.c')
0 files changed, 0 insertions, 0 deletions