Re: pgbench tap tests & minor fixes.
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: Nikolay Shaplov <dhyan@nataraj.su>,
PostgreSQL Developers <pgsql-hackers@postgresql.org>
Date: 2017-09-04T21:27:18Z
Lists: pgsql-hackers
Fabien COELHO <coelho@cri.ensmp.fr> writes: >> * I do not think we need expr_scanner_chomp_substring. Of the three >> existing callers of expr_scanner_get_substring, one is doing a manual >> chomp afterwards, and the other two need chomps per your patch. > Ok. I thought that I would get a slap on the hand if I changed the initial > function, but I get one not for changing it:-) Well, more for not looking at the other caller and noting it needed this too. Anyway, done with the addition of a "chomp" parameter, leaving only the TAP test changes to consider. I'll set the CF entry back to "waiting on author" pending your revisions of those. regards, tom lane
Commits
-
Add much-more-extensive TAP tests for pgbench.
- ed8a7c6fcf92 11.0 landed
-
Be more careful about newline-chomping in pgbench.
- 0b707d6ea759 11.0 landed
-
Fix some subtle problems in pgbench transaction stats counting.
- c23bb6badfa2 11.0 landed