Re: pgbench tap tests & minor fixes

Fabien COELHO <coelho@cri.ensmp.fr>

From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Nikolay Shaplov <dhyan@nataraj.su>
Cc: PostgreSQL Developers <pgsql-hackers@postgresql.org>, Robert Haas <robertmhaas@gmail.com>
Date: 2017-06-25T18:42:58Z
Lists: pgsql-hackers

Attachments

> may be this it because of "end_offset + 1" in expr_scanner_chomp_substring ?
> Why there is + 1 there?

Thanks for the debug! Here is a v9 which does a rebase after the 
reindentation and fixes the bad offset.

-- 
Fabien.

Commits

  1. Add much-more-extensive TAP tests for pgbench.

  2. Be more careful about newline-chomping in pgbench.

  3. Fix some subtle problems in pgbench transaction stats counting.