diff options
author | Andres Freund <andres@anarazel.de> | 2015-08-08 01:19:02 +0200 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2015-08-08 01:19:02 +0200 |
commit | c2509944b1a090d64a4a18dcd524ff63ee0f0212 (patch) | |
tree | 6167d3a4d8b37ad534df68826bf98ea8693fe393 /src/backend/executor/nodeModifyTable.c | |
parent | 89db83922a7f8ba223e233e262004b1745ece75d (diff) | |
download | postgresql-c2509944b1a090d64a4a18dcd524ff63ee0f0212.tar.gz postgresql-c2509944b1a090d64a4a18dcd524ff63ee0f0212.zip |
Fix bug slowing down pgbench when -P is used.
A removed check in ba3deeefb made all threads but the main one busy-loop
when -P was used. All threads computed the time to the next time the
progress report should be printed, but only the main thread did so and
re-scheduled it only for the future.
Reported-By: Jesper Pedersen
Discussion: 55C4E190.3050104@redhat.com
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions