Tom Lane wrote:
>ohp(at)pyrenet(dot)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.
>
>
>
Actually, I just noticed that postmaster/pg_arch.c has a call to sleep()
that needs to be removed ... I guess it snuck in after all that stuff
was adjusted.
cheers
andrew