forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5515ec0
committed
Fix calculation of latency of pgbench backslash commands.
When we loop back to the top of doCustom after processing a backslashcommand, we must reset the "now" timestamp, because that's used tocalculate the time spent executing the previous command.Report and fix by Fabien Coelho. Backpatch to 9.5, where this was broken.1 parenta293228 commit5515ec0
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1135 | 1135 | | |
1136 | 1136 | | |
1137 | 1137 | | |
1138 | | - | |
| 1138 | + | |
| 1139 | + | |
1139 | 1140 | | |
| 1141 | + | |
1140 | 1142 | | |
1141 | 1143 | | |
1142 | | - | |
1143 | 1144 | | |
1144 | 1145 | | |
1145 | 1146 | | |
| |||
0 commit comments
Comments
(0)