pgsql: Allow trailing whitespace in parse_real(), for consistency with

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Allow trailing whitespace in parse_real(), for consistency with
Дата
Msg-id 20070621225914.11FD79FB9AE@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Allow trailing whitespace in parse_real(), for consistency with
parse_int() and with itself (strtod allows leading whitespace, so it
seems odd not to allow trailing whitespace).  parse_bool remains
not-whitespace-friendly, but this is generically true for non-numeric
GUC variables, so I'll desist from changing it.

Modified Files:
--------------
    pgsql/src/backend/utils/misc:
        guc.c (r1.401 -> r1.402)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c.diff?r1=1.401&r2=1.402)

В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Provide a HINT listing the allowed unit names when a GUC variable
Следующее
От: neilc@postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql: In psql, when running a SELECT query using a cursor, flush the