Commit 89a091ed authored by Itagaki Takahiro's avatar Itagaki Takahiro

Silence compiler warning about printf format for HANDLE.

parent 5b76bb18
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/port/win32_shmem.c,v 1.14 2010/01/02 16:57:50 momjian Exp $ * $PostgreSQL: pgsql/src/backend/port/win32_shmem.c,v 1.15 2010/01/04 01:06:21 itagaki Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -350,7 +350,7 @@ pgwin32_ReserveSharedMemoryRegion(HANDLE hChild) ...@@ -350,7 +350,7 @@ pgwin32_ReserveSharedMemoryRegion(HANDLE hChild)
MEM_RESERVE, PAGE_READWRITE); MEM_RESERVE, PAGE_READWRITE);
if (address == NULL) { if (address == NULL) {
/* Don't use FATAL since we're running in the postmaster */ /* Don't use FATAL since we're running in the postmaster */
elog(LOG, "could not reserve shared memory region (addr=%p) for child %lu: %lu", elog(LOG, "could not reserve shared memory region (addr=%p) for child %p: %lu",
UsedShmemSegAddr, hChild, GetLastError()); UsedShmemSegAddr, hChild, GetLastError());
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment