pgsql: Fix pgbench's parsing of double values to notice trailing garbag

Started by Tom Laneabout 10 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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.)

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6b8b4e4d8320d8c9daf9410175c40a09e58c4868

Modified Files
--------------
src/bin/pgbench/pgbench.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers