From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Takayuki Tsunakawa <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com>, "Jim C(dot) Nasby" <jim(at)nasby(dot)net>, Patrick Earl <patearl(at)patearl(dot)net>, pgsql-general(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [HACKERS] Checkpoint request failed on version 8.2.1. |
Date: | 2007-01-16 16:16:06 |
Message-ID: | 20070116161606.GA2827@svr2.hagander.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On Tue, Jan 16, 2007 at 11:11:59AM -0500, Tom Lane wrote:
> Magnus Hagander <magnus(at)hagander(dot)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.
Yes, we are calling CreateFile. It's used to open files as well. Check
the code in src/port/open.c.
It's not very intuitive, but createfile is used both to create new files
and to open existing ones (create handles to them).
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2007-01-16 16:20:51 | Re: [HACKERS] Checkpoint request failed on version 8.2.1. |
Previous Message | Tom Lane | 2007-01-16 16:11:59 | Re: [HACKERS] Checkpoint request failed on version 8.2.1. |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2007-01-16 16:20:51 | Re: [HACKERS] Checkpoint request failed on version 8.2.1. |
Previous Message | Tom Lane | 2007-01-16 16:15:26 | Re: Enabling autovacuum by default (was Re: Autovacuum improvements) |