pgsql: Fix pgbench's parsing of double values to notice trailing garbag - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix pgbench's parsing of double values to notice trailing garbag
Date
Msg-id E1ayhNB-00063C-Mw@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Improve handling of numeric-valued variables in pgbench.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix possible read past end of string in to_timestamp().