On Tue, Sep 22, 2009 at 10:27:19AM +0530, Jeevan Chalke wrote:
>
> It seems that Oracle reads formatting string from right-to-left. Here are
> few results:
> ('number','format') ==> Oracle PG
> --------------------------------------------
> ('34,50','999,99') ==> 3450 340
> ('34,50','99,99') ==> 3450 3450
> ('34,50','99,999') ==> Invalid Number 3450
> ('34,50','999,999') ==> Invalid Number 340
It seems worse to to give a wrong answer silently then to throw an error.
What we do now seems sort of MySqlish.
-dg
--
David Gould [email protected] 510 536 1443 510 282 0869
If simplicity worked, the world would be overrun with insects.
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers