Re: WIP: [[Parallel] Shared] Hash - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: WIP: [[Parallel] Shared] Hash
Date
Msg-id CAEepm=1w1Niz_h+JVV7dDCAY1s6RDpQXUqAAeTOjXXUkG1XzsA@mail.gmail.com
Whole thread Raw
In response to Re: WIP: [[Parallel] Shared] Hash  (Thomas Munro <thomas.munro@enterprisedb.com>)
Responses Re: WIP: [[Parallel] Shared] Hash
List pgsql-hackers
On Sun, Mar 26, 2017 at 3:56 PM, Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
> But... what you said above must be a problem for Windows.  I believe
> it doesn't allow files to be unlinked if they are open, and I see that
> DSM segments are cleaned up in resowner's phase ==
> RESOURCE_RELEASE_BEFORE_LOCKS and files are closed in phase ==
> RESOURCE_RELEASE_AFTER_LOCKS.

I thought this last point about Windows might be fatal to my design,
but it seems that Windows since at least version 2000 has support for
Unixoid unlinkability via the special flag FILE_SHARE_DELETE.

-- 
Thomas Munro
http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Rushabh Lathia
Date:
Subject: Re: Adding support for Default partition in partitioning
Next
From: Rafia Sabih
Date:
Subject: Re: Parallel bitmap heap scan