Files
postgresql/src
Heikki Linnakangas 396ef15618 Fix busy-wait in pgbench, with --rate.
If --rate was used to throttle pgbench, it failed to sleep when it had
nothing to do, leading to a busy-wait with 100% CPU usage. This bug was
introduced in the refactoring in v10. Before that, sleep() was called with
a timeout, even when there were no file descriptors to wait for.

Reported by Jeff Janes, patch by Fabien COELHO. Backpatch to v10.

Discussion: https://www.postgresql.org/message-id/CAMkU%3D1x5hoX0pLLKPRnXCy0T8uHoDvXdq%2B7kAM9eoC9_z72ucw%40mail.gmail.com
2017-10-01 09:29:27 +03:00
..
2017-09-30 13:40:56 -04:00
2017-09-30 13:40:56 -04:00
2017-09-29 16:51:39 -04:00
2017-08-14 18:08:30 -04:00
2017-09-30 13:40:56 -04:00
2017-02-17 08:56:57 -05:00