From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Windows 64 bit warnings |
Date: | 2011-04-18 16:50:39 |
Message-ID: | 1303145277-sup-8682@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Excerpts from Andrew Dunstan's message of sáb abr 16 21:46:44 -0300 2011:
> The other, slightly more serious case, is at
> src/test/regress/pg_regress.c:2280, which is this code:
>
> printf(_("running on port %d with pid %lu\n"),
> port, (unsigned long) postmaster_pid);
>
> Here the postmaster_pid is in fact a HANDLE which is 8 bytes, and so it
> should probably be cast to an unsigned long long and rendered with the
> format %llu in Win64.
Is this "uint64" and UINT64_FORMAT?
--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From | Date | Subject | |
---|---|---|---|
Next Message | Merlin Moncure | 2011-04-18 16:51:12 | Re: WIP: Allow SQL-language functions to reference parameters by parameter name |
Previous Message | Alvaro Herrera | 2011-04-18 16:42:04 | Re: Formatting Curmudgeons WAS: MMAP Buffers |