to_number behavior change between 8.1 and 8.2 - Mailing list pgsql-general

From Richard Greenwood
Subject to_number behavior change between 8.1 and 8.2
Date
Msg-id ae9185aa0705161056l60d25a43oa9574df606b5bad@mail.gmail.com
Whole thread Raw
Responses Re: to_number behavior change between 8.1 and 8.2
Re: to_number behavior change between 8.1 and 8.2
List pgsql-general
I am getting an error from to_number() in PostgreSQL 8.2 that does not
occur in 8.1:
   invalid input syntax for type numeric: " "
I assume that it is rejecting spaces, so I tried trimming with:
   to_number(trim (both ' ' from streetnum),'999999999')
but still get the same error.

Any suggestions?

Thanks,
Rich

--
Richard Greenwood
richard.greenwood@gmail.com
www.greenwoodmap.com

pgsql-general by date:

Previous
From: Ray Stell
Date:
Subject: Re: basic postgres questions...
Next
From: marcelo Cortez
Date:
Subject: Re: dns less connection