ohp@pyrenet.fr writes:
> if i do it a second time in the same session, blockme() never returns
> I wonder if handle_sig_alarm is re-armed after being used
No. Why should the signal handler need re-arming?
> or if sleep is used anywhere in the backend.
Nope.
regards, tom lane