Skip to content
Snippets Groups Projects
Commit 496ea7a8 authored by Tom Lane's avatar Tom Lane
Browse files

At least on HPUX, select with delay.tv_sec = 0 and delay.tv_usec = 1000000

does not lead to a one-second delay, but to an immediate EINVAL failure.
This causes CHECKPOINT to crash with s_lock_stuck much too quickly :-(.
Fix by breaking down the requested wait div/mod 1e6.
parent 3460181c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment