1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-07 19:06:32 +03:00

Fix format code used to print dsm request sizes.

Per report from Peter Eisentraut.
This commit is contained in:
Robert Haas
2013-11-04 11:22:03 -05:00
parent 2103430179
commit dddc34408a
2 changed files with 9 additions and 8 deletions

View File

@@ -192,8 +192,9 @@ dsm_postmaster_startup(void)
}
dsm_control = dsm_control_address;
on_shmem_exit(dsm_postmaster_shutdown, 0);
elog(DEBUG2, "created dynamic shared memory control segment %u ("
UINT64_FORMAT " bytes)", dsm_control_handle, segsize);
elog(DEBUG2,
"created dynamic shared memory control segment %u (%lu bytes)",
dsm_control_handle, (unsigned long) segsize);
dsm_write_state_file(dsm_control_handle);
/* Initialize control segment. */