Skip site navigation (1) Skip section navigation (2)

pgsql-server/src backend/utils/adt/float.c bac ...

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src backend/utils/adt/float.c bac ...
Date: 2004-03-11 02:11:14
Message-ID: 20040311021114.3E312D1B80B@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
CVSROOT:	/cvsroot
Module name:	pgsql-server
Changes by:	neilc(at)svr1(dot)postgresql(dot)org	04/03/10 22:11:14

Modified files:
	src/backend/utils/adt: float.c int8.c numutils.c oid.c 
	src/test/regress/expected: float4.out float8.out int2.out 
	                           int4.out int8.out numeric.out oid.out 
	src/test/regress/output: misc.source 
	src/test/regress/sql: float4.sql float8.sql int2.sql int4.sql 
	                      int8.sql numeric.sql oid.sql 

Log message:
	Revise int2/int4/int8/float4/float8 input routines to allow for
	any amount of leading or trailing whitespace (where "whitespace"
	is defined by isspace()). This is for SQL conformance, as well
	as consistency with other numeric types (e.g. oid, numeric).
	
	Also refactor pg_atoi() to avoid looking at errno where not
	necessary, and add a bunch of regression tests for the input
	to these types.


pgsql-committers by date

Next:From: Bruce MomjianDate: 2004-03-11 02:39:12
Subject: pgsql-server/doc/src/sgml libpq.sgml
Previous:From: Tatsuo IshiiDate: 2004-03-11 01:47:42
Subject: pgsql-server/ oc/src/sgml/ref/lock.sgml rc/bac ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group