Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdfaa346

Browse files
committed
Fix incorrect format placeholders
1 parentfc95d35 commitdfaa346

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

‎src/backend/utils/mmgr/aset.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1378,7 +1378,7 @@ AllocSetStats(MemoryContext context,
13781378
charstats_string[200];
13791379

13801380
snprintf(stats_string,sizeof(stats_string),
1381-
"%zu total in %zd blocks; %zu free (%zd chunks); %zu used",
1381+
"%zu total in %zu blocks; %zu free (%zu chunks); %zu used",
13821382
totalspace,nblocks,freespace,freechunks,
13831383
totalspace-freespace);
13841384
printfunc(context,passthru,stats_string,print_to_stderr);

‎src/backend/utils/mmgr/generation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ GenerationStats(MemoryContext context,
703703
charstats_string[200];
704704

705705
snprintf(stats_string,sizeof(stats_string),
706-
"%zu total in %zd blocks (%zd chunks); %zu free (%zd chunks); %zu used",
706+
"%zu total in %zu blocks (%zu chunks); %zu free (%zu chunks); %zu used",
707707
totalspace,nblocks,nchunks,freespace,
708708
nfreechunks,totalspace-freespace);
709709
printfunc(context,passthru,stats_string,print_to_stderr);

‎src/backend/utils/mmgr/mcxt.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ MemoryContextStatsDetail(MemoryContext context, int max_children,
528528

529529
if (print_to_stderr)
530530
fprintf(stderr,
531-
"Grand total: %zu bytes in %zd blocks; %zu free (%zd chunks); %zu used\n",
531+
"Grand total: %zu bytes in %zu blocks; %zu free (%zu chunks); %zu used\n",
532532
grand_totals.totalspace,grand_totals.nblocks,
533533
grand_totals.freespace,grand_totals.freechunks,
534534
grand_totals.totalspace-grand_totals.freespace);
@@ -547,7 +547,7 @@ MemoryContextStatsDetail(MemoryContext context, int max_children,
547547
ereport(LOG_SERVER_ONLY,
548548
(errhidestmt(true),
549549
errhidecontext(true),
550-
errmsg_internal("Grand total: %zu bytes in %zd blocks; %zu free (%zd chunks); %zu used",
550+
errmsg_internal("Grand total: %zu bytes in %zu blocks; %zu free (%zu chunks); %zu used",
551551
grand_totals.totalspace,grand_totals.nblocks,
552552
grand_totals.freespace,grand_totals.freechunks,
553553
grand_totals.totalspace-grand_totals.freespace)));
@@ -612,7 +612,7 @@ MemoryContextStatsInternal(MemoryContext context, int level,
612612
for (i=0;i <=level;i++)
613613
fprintf(stderr," ");
614614
fprintf(stderr,
615-
"%d more child contexts containing %zu total in %zd blocks; %zu free (%zd chunks); %zu used\n",
615+
"%d more child contexts containing %zu total in %zu blocks; %zu free (%zu chunks); %zu used\n",
616616
ichild-max_children,
617617
local_totals.totalspace,
618618
local_totals.nblocks,
@@ -624,7 +624,7 @@ MemoryContextStatsInternal(MemoryContext context, int level,
624624
ereport(LOG_SERVER_ONLY,
625625
(errhidestmt(true),
626626
errhidecontext(true),
627-
errmsg_internal("level: %d; %d more child contexts containing %zu total in %zd blocks; %zu free (%zd chunks); %zu used",
627+
errmsg_internal("level: %d; %d more child contexts containing %zu total in %zu blocks; %zu free (%zu chunks); %zu used",
628628
level,
629629
ichild-max_children,
630630
local_totals.totalspace,

‎src/backend/utils/mmgr/slab.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ SlabStats(MemoryContext context,
671671
charstats_string[200];
672672

673673
snprintf(stats_string,sizeof(stats_string),
674-
"%zu total in %zd blocks; %zu free (%zd chunks); %zu used",
674+
"%zu total in %zu blocks; %zu free (%zu chunks); %zu used",
675675
totalspace,nblocks,freespace,freechunks,
676676
totalspace-freespace);
677677
printfunc(context,passthru,stats_string,print_to_stderr);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp