Re: Isn't HANDLE 64 bits on Win64?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Isn't HANDLE 64 bits on Win64?
Дата
Msg-id 28730.1289921717@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Isn't HANDLE 64 bits on Win64?  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Isn't HANDLE 64 bits on Win64?  (Magnus Hagander <magnus@hagander.net>)
Список 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 по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Isn't HANDLE 64 bits on Win64?
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Isn't HANDLE 64 bits on Win64?