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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow trailing whitespace in parse_real(), for consistency with
Date: 2007-06-21 22:59:14
Message-ID: 20070621225914.11FD79FB9AE@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Neil Conway 2007-06-22 01:09:29 pgsql: In psql, when running a SELECT query using a cursor, flush the
Previous Message Tom Lane 2007-06-21 18:14:21 pgsql: Provide a HINT listing the allowed unit names when a GUC variable