On tis, 2011-01-11 at 12:30 +0900, Itagaki Takahiro wrote:
On Tue, Jan 11, 2011 at 11:10, Tom Lane t...@sss.pgh.pa.us wrote:
Itagaki Takahiro itagaki.takah...@gmail.com writes:
It was reported from a tester that we don't have casts of money from/to
integer
types even though we have
Peter Eisentraut pete...@gmx.net writes:
On tis, 2011-01-11 at 12:30 +0900, Itagaki Takahiro wrote:
If we won't to add accept integers for money, we should fix the docs.
| integer and floating-point string literals
|~~~
Will it get better?
I think
On tis, 2011-01-11 at 11:03 -0500, Tom Lane wrote:
We explicitly
rejected the idea of providing direct casts to/from floating point
types, on the grounds of not wanting any roundoff error; so I don't
think this is a point that should be revisited.
We also explicitly chose floating point as
It was reported from a tester that we don't have casts of money from/to integer
types even though we have from/to numeric type.
http://archives.postgresql.org/pgsql-testers/2011-01/msg0.php
Did we have any discussions about the behavior?
I think we should have them for consistency.
Itagaki Takahiro itagaki.takah...@gmail.com writes:
It was reported from a tester that we don't have casts of money from/to
integer
types even though we have from/to numeric type.
In most locales, the idea isn't sensible.
regards, tom lane
--
Sent via pgsql-hackers
On Tue, Jan 11, 2011 at 11:10, Tom Lane t...@sss.pgh.pa.us wrote:
Itagaki Takahiro itagaki.takah...@gmail.com writes:
It was reported from a tester that we don't have casts of money from/to
integer
types even though we have from/to numeric type.
In most locales, the idea isn't sensible.