index 77872e77bcd45d5ebe0033677c8b758b07442332..73cf677274302fb264fa3ca716f9157fbd4ee7eb 100644 (file)
char stats_string[200];
snprintf(stats_string, sizeof(stats_string),
- "%zu total in %zd blocks; %zu free (%zd chunks); %zu used",
+ "%zu total in %zu blocks; %zu free (%zu chunks); %zu used",
totalspace, nblocks, freespace, freechunks,
totalspace - freespace);
printfunc(context, passthru, stats_string, print_to_stderr);
index 584cd614da06e1af286c68c84f1313d3d6866e88..e1822c9d90f46f52ea62fec1ac0b8de7a11246ed 100644 (file)
char stats_string[200];
snprintf(stats_string, sizeof(stats_string),
- "%zu total in %zd blocks (%zd chunks); %zu free (%zd chunks); %zu used",
+ "%zu total in %zu blocks (%zu chunks); %zu free (%zu chunks); %zu used",
totalspace, nblocks, nchunks, freespace,
nfreechunks, totalspace - freespace);
printfunc(context, passthru, stats_string, print_to_stderr);
index 6919a732804639fb93044e82ea212f9d0c5176ee..8fa1e1faafa2ff073a43f68f4141bf6f090a8965 100644 (file)
@@ -528,7 +528,7 @@ MemoryContextStatsDetail(MemoryContext context, int max_children,
if (print_to_stderr)
fprintf(stderr,
- "Grand total: %zu bytes in %zd blocks; %zu free (%zd chunks); %zu used\n",
+ "Grand total: %zu bytes in %zu blocks; %zu free (%zu chunks); %zu used\n",
grand_totals.totalspace, grand_totals.nblocks,
grand_totals.freespace, grand_totals.freechunks,
grand_totals.totalspace - grand_totals.freespace);
@@ -547,7 +547,7 @@ MemoryContextStatsDetail(MemoryContext context, int max_children,
ereport(LOG_SERVER_ONLY,
(errhidestmt(true),
errhidecontext(true),
- errmsg_internal("Grand total: %zu bytes in %zd blocks; %zu free (%zd chunks); %zu used",
+ errmsg_internal("Grand total: %zu bytes in %zu blocks; %zu free (%zu chunks); %zu used",
grand_totals.totalspace, grand_totals.nblocks,
grand_totals.freespace, grand_totals.freechunks,
grand_totals.totalspace - grand_totals.freespace)));
@@ -612,7 +612,7 @@ MemoryContextStatsInternal(MemoryContext context, int level,
for (i = 0; i <= level; i++)
fprintf(stderr, " ");
fprintf(stderr,
- "%d more child contexts containing %zu total in %zd blocks; %zu free (%zd chunks); %zu used\n",
+ "%d more child contexts containing %zu total in %zu blocks; %zu free (%zu chunks); %zu used\n",
ichild - max_children,
local_totals.totalspace,
local_totals.nblocks,
@@ -624,7 +624,7 @@ MemoryContextStatsInternal(MemoryContext context, int level,
ereport(LOG_SERVER_ONLY,
(errhidestmt(true),
errhidecontext(true),
- errmsg_internal("level: %d; %d more child contexts containing %zu total in %zd blocks; %zu free (%zd chunks); %zu used",
+ errmsg_internal("level: %d; %d more child contexts containing %zu total in %zu blocks; %zu free (%zu chunks); %zu used",
level,
ichild - max_children,
local_totals.totalspace,
index 553dd7f66746c7af94000c95c8f9b29f8ff683ac..04783b838562e436e5ce33584c007ea3c52bd85f 100644 (file)
char stats_string[200];
snprintf(stats_string, sizeof(stats_string),
- "%zu total in %zd blocks; %zu free (%zd chunks); %zu used",
+ "%zu total in %zu blocks; %zu free (%zu chunks); %zu used",
totalspace, nblocks, freespace, freechunks,
totalspace - freespace);
printfunc(context, passthru, stats_string, print_to_stderr);