]> granicus.if.org Git - postgresql/commit
Fix pgbench's parsing of double values to notice trailing garbage.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 May 2016 15:08:48 +0000 (11:08 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 May 2016 15:08:48 +0000 (11:08 -0400)
commit6b8b4e4d8320d8c9daf9410175c40a09e58c4868
treee77450cca22caa3d9b0e205e8a1584cf5e7c8ccc
parent9515299485a591b3a8f03c118d11809d01663665
Fix pgbench's parsing of double values to notice trailing garbage.

Noted by Fabien Coelho, though this isn't exactly his proposed patch.
(The technique used here is borrowed from the zic sources.)
src/bin/pgbench/pgbench.c