We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd17880 commit aa37a43Copy full SHA for aa37a43
src/backend/storage/ipc/ipci.c
@@ -332,6 +332,6 @@ InitializeShmemGUCs(void)
332
*/
333
size_b = CalculateShmemSize(NULL);
334
size_mb = add_size(size_b, (1024 * 1024) - 1) / (1024 * 1024);
335
- sprintf(buf, "%lu", size_mb);
+ sprintf(buf, "%zu", size_mb);
336
SetConfigOption("shared_memory_size", buf, PGC_INTERNAL, PGC_S_OVERRIDE);
337
}
0 commit comments