Re: Isn't HANDLE 64 bits on Win64? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Isn't HANDLE 64 bits on Win64?
Date
Msg-id 28730.1289921717@sss.pgh.pa.us
Whole thread Raw
In response to Re: Isn't HANDLE 64 bits on Win64?  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Isn't HANDLE 64 bits on Win64?
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Tue, Nov 16, 2010 at 16:23, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> What's not clear to me is whether the section title means that only
>> certain handles have this guarantee, and if so whether we have to worry
>> about running into ones that don't.

> I think it is pretty clear it does - the section has a list of
> different handles at the bottom. What we're using is a File Mapping
> Object, which is not on that list. And which is, AFAICT, not a user or
> gdi handle.

> That doesn't mean it's not guaranteed to be in the 32-bit space, but
> I'm pretty sure that specific page doesn't guarantee it.

Well, the patch as-applied is fine with me.  I just wanted to be sure
we'd considered the alternatives, especially in view of the fact that
we have not seen any clear failures of the previous coding.

The reason this came to mind was
http://archives.postgresql.org/pgsql-admin/2010-11/msg00128.php
which looks for all the world like a handle transmission failure
--- but that person claims to be running Win32, so unless he's
wrong, this particular issue doesn't explain his problem.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Isn't HANDLE 64 bits on Win64?
Next
From: Magnus Hagander
Date:
Subject: Re: Isn't HANDLE 64 bits on Win64?