Magnus Hagander writes:
> On Tue, Nov 16, 2010 at 16:23, Tom Lane 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 -
Magnus Hagander writes:
> On Tue, Nov 16, 2010 at 11:01, Magnus Hagander wrote:
>> So yes, it looks completely broken. I guess Windows doesn't actually
>> *assign* you a handle larger than 2^32 until you actually ahve that
>> many open handles. Typical values on my test system (win64) comes out
>
Dave Page writes:
> On Tue, Nov 16, 2010 at 10:01 AM, Magnus Hagander wrote:
>> On Tue, Nov 16, 2010 at 01:35, Tom Lane wrote:
>>> BTW, it seems like it'd be a good thing if we had a Win64 machine in the
>>> buildfarm.
>> Yes. I actually thought we had one. Dave, weren't you going to set one up
Magnus Hagander writes:
> Do you still have a reference to the page that said they will never be
> assigned that high?
http://msdn.microsoft.com/en-us/library/ms810720.aspx
which says
USER and GDI handles are sign extended 32b values
To facilitate the porting, a decision has been m
On Tue, Nov 16, 2010 at 16:35, Tom Lane wrote:
> Magnus Hagander writes:
>> On Tue, Nov 16, 2010 at 16:23, Tom Lane 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 on
On Tue, Nov 16, 2010 at 16:23, Tom Lane wrote:
> Magnus Hagander writes:
>> Do you still have a reference to the page that said they will never be
>> assigned that high?
>
> http://msdn.microsoft.com/en-us/library/ms810720.aspx
>
> which says
>
> USER and GDI handles are sign extended 32b valu
On Tue, Nov 16, 2010 at 15:42, Tom Lane wrote:
> Magnus Hagander writes:
>> On Tue, Nov 16, 2010 at 11:01, Magnus Hagander wrote:
>>> So yes, it looks completely broken. I guess Windows doesn't actually
>>> *assign* you a handle larger than 2^32 until you actually ahve that
>>> many open handles
On Tue, Nov 16, 2010 at 11:01, Magnus Hagander wrote:
> On Tue, Nov 16, 2010 at 01:35, Tom Lane wrote:
>> ... and if so, isn't postmaster.c's code to transfer a HANDLE value to a
>> child process all wet?
>
> It is definitely 64-bit. sizeof(HANDLE)==8.
>
> So yes, it looks completely broken. I gu
On Tue, Nov 16, 2010 at 10:01 AM, Magnus Hagander wrote:
> On Tue, Nov 16, 2010 at 01:35, Tom Lane wrote:
>> ... and if so, isn't postmaster.c's code to transfer a HANDLE value to a
>> child process all wet?
>
> It is definitely 64-bit. sizeof(HANDLE)==8.
>
> So yes, it looks completely broken. I
On Tue, Nov 16, 2010 at 01:35, Tom Lane wrote:
> ... and if so, isn't postmaster.c's code to transfer a HANDLE value to a
> child process all wet?
It is definitely 64-bit. sizeof(HANDLE)==8.
So yes, it looks completely broken. I guess Windows doesn't actually
*assign* you a handle larger than 2^
... and if so, isn't postmaster.c's code to transfer a HANDLE value to a
child process all wet?
sprintf(paramHandleStr, "%lu", (DWORD) paramHandle);
...
paramHandle = (HANDLE) atol(id);
BTW, it seems like it'd be a good thing if we had a Win64 machine in the
buildfarm.
11 matches
Mail list logo