aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2011-04-27 11:28:14 -0400
committerAndrew Dunstan <andrew@dunslane.net>2011-04-27 11:28:14 -0400
commit348c10efe08f01872daeeb62f32c8e362fcbba69 (patch)
tree181364b0daa08783f4a75917787d96bd1bd56c5a /src/backend
parent9b1508af8971c1627cda5bb65f5e9eddb9a1a55e (diff)
downloadpostgresql-348c10efe08f01872daeeb62f32c8e362fcbba69.tar.gz
postgresql-348c10efe08f01872daeeb62f32c8e362fcbba69.zip
Revert "Remove hard coded formats for INT64 and use configured settings instead."
This reverts commit 9b1508af8971c1627cda5bb65f5e9eddb9a1a55e. As requested by Tom.
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/postmaster/postmaster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index 0d98b7ec269..c0cf0336a1e 100644
--- a/src/backend/postmaster/postmaster.c
+++ b/src/backend/postmaster/postmaster.c
@@ -3795,7 +3795,7 @@ internal_forkexec(int argc, char *argv[], Port *port)
/* Insert temp file name after --fork argument */
#ifdef _WIN64
- sprintf(paramHandleStr, UINT64_FORMAT, (LONG_PTR) paramHandle);
+ sprintf(paramHandleStr, "%llu", (LONG_PTR) paramHandle);
#else
sprintf(paramHandleStr, "%lu", (DWORD) paramHandle);
#endif