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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix pgbench's parsing of double values to notice trailing garbag
Дата
Msg-id E1ayhNB-00063C-Mw@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve handling of numeric-valued variables in pgbench.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix possible read past end of string in to_timestamp().