pg-pgbench-report.patch
text/x-patch
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: unified
| File | + | − |
|---|---|---|
| contrib/pgbench/pgbench.c | 2 | 1 |
diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c
index 00cab73..b5f3054 100644
--- a/contrib/pgbench/pgbench.c
+++ b/contrib/pgbench/pgbench.c
@@ -1420,8 +1420,9 @@
}
if (j % 100000 == 0)
- fprintf(stderr, "%d tuples done.\n", j);
+ fprintf(stderr, "%d of %d tuples done.\r", j, naccounts * scale);
}
+ fprintf(stderr, "\n");
if (PQputline(con, "\\.\n"))
{
fprintf(stderr, "very last PQputline failed\n");