pgsql: Allow trailing whitespace in parse_real(), for consistency with - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Allow trailing whitespace in parse_real(), for consistency with
Date
Msg-id 20070621225914.11FD79FB9AE@postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Provide a HINT listing the allowed unit names when a GUC variable
Next
From: neilc@postgresql.org (Neil Conway)
Date:
Subject: pgsql: In psql, when running a SELECT query using a cursor, flush the