Isn't HANDLE 64 bits on Win64?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Isn't HANDLE 64 bits on Win64?
Date: 2010-11-16 00:35:32
Message-ID: 11074.1289867732@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

... 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.

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-11-16 01:49:49 Re: libpq changes for synchronous replication
Previous Message Tom Lane 2010-11-16 00:26:54 Re: libpq changes for synchronous replication