Re: Windows 64 bit warnings

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Windows 64 bit warnings
Дата
Msg-id 1303145277-sup-8682@alvh.no-ip.org
обсуждение исходный текст
Ответ на Windows 64 bit warnings  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Windows 64 bit warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Formatting Curmudgeons WAS: MMAP Buffers
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: WIP: Allow SQL-language functions to reference parameters by parameter name