Re: [GENERAL] Checkpoint request failed on version 8.2.1. - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [GENERAL] Checkpoint request failed on version 8.2.1.
Date
Msg-id 45ACFB63.4040607@dunslane.net
Whole thread Raw
In response to Re: [GENERAL] Checkpoint request failed on version 8.2.1.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>
>> And actually, when I look at the API docs, our case now seems to be
>> documented. Or am I misreading our situation. I have:
>>
>
>
>> "If you call CreateFile on a file that is pending deletion as a result
>> of a previous call to DeleteFile, the function fails. The operating
>> system delays file deletion until all handles to the file are closed.
>> GetLastError returns ERROR_ACCESS_DENIED."
>>
>
> We are not calling CreateFile ... we're just trying to open the thing.
>
>

see src/port/open.c - pgwin32_open() calls CreateFile().

cheers

andrew

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: [GENERAL] Checkpoint request failed on version 8.2.1.
Next
From: Gregory Stark
Date:
Subject: Re: Function execution costs 'n all that