Re: pgwin32_open returning EINVAL - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: pgwin32_open returning EINVAL
Date
Msg-id 47693B4D.6060900@dunslane.net
Whole thread Raw
In response to Re: pgwin32_open returning EINVAL  ("Zeugswetter Andreas ADI SD" <Andreas.Zeugswetter@s-itsolutions.at>)
List pgsql-hackers

Zeugswetter Andreas ADI SD wrote:
>
>
> Yes 0.1 s is imho good. Btw. m$ is talking about milliseconds
> (http://support.microsoft.com/kb/316609) 
>
>
>   

We have seen cases in the past where these locks last quite a long time. 
That 30s total timeout in rename and unlink was not chosen arbitrarily - 
it's based on experience.

I think a retry interval of 0.1s here should be OK.

cheers

andrew


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pgwin32_open returning EINVAL
Next
From: Magnus Hagander
Date:
Subject: Re: pgwin32_open returning EINVAL