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
|
Список | 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 по дате отправления: