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

Commite9f5926

Browse files
author
Marina Polyakova
committed
Pgbench Fix aggregation logs
1 parentbc87f31 commite9f5926

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/bin/pgbench/pgbench.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2584,7 +2584,7 @@ doLog(TState *thread, CState *st, instr_time *now,
25842584
while (agg->start_time+agg_interval<INSTR_TIME_GET_DOUBLE(*now))
25852585
{
25862586
/* print aggregated report to logfile */
2587-
fprintf(logfile,"%ld "INT64_FORMAT" %.0f %.0f %.0f %.0f "INT64_FORMAT" "INT64_FORMAT" %.0f %.0f %.0f %.0f",
2587+
fprintf(logfile,"%ld "INT64_FORMAT" %.0f %.0f %.0f %.0f "INT64_FORMAT" "INT64_FORMAT""INT64_FORMAT"%.0f %.0f %.0f %.0f",
25882588
agg->start_time,
25892589
agg->cnt,
25902590
agg->latency.sum,
@@ -2593,6 +2593,7 @@ doLog(TState *thread, CState *st, instr_time *now,
25932593
agg->latency.max,
25942594
agg->serialization_failures,
25952595
agg->deadlock_failures,
2596+
agg->attempts.count,
25962597
agg->attempts.sum,
25972598
agg->attempts.sum2,
25982599
agg->attempts.min,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp