=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
> There's an off-by-one error in script numbering in the human readable vs.
> machine readable logs, i.e.:
> ...
> In the human readable output the scripts are numbered 1 and 2:
> ...
> ...but in the 4th column of the log files written by pgbench they are
> numbered 0 and 1:
Hmm, yeah, it's inconsistent, but I wonder whether it's worth the pain
to fix. I'd be quite hesitant to change the log output because that'd
likely break peoples' analysis scripts. So possibly we could resolve
it by using 0-based numbering in the human-readable output, but that
would confuse things too perhaps.
Maybe we should just document it.
regards, tom lane