Re: Fwd: [TESTERS] [TEST REPORT] 9.1Alpha3 Feature E.1.4.7.2 in release notes.

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Fwd: [TESTERS] [TEST REPORT] 9.1Alpha3 Feature E.1.4.7.2 in release notes.
Дата
Msg-id 1294748808.15734.0.camel@fsopti579.F-Secure.com
обсуждение исходный текст
Ответ на Re: Fwd: [TESTERS] [TEST REPORT] 9.1Alpha3 Feature E.1.4.7.2 in release notes.  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
Ответы Re: Fwd: [TESTERS] [TEST REPORT] 9.1Alpha3 Feature E.1.4.7.2 in release notes.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On tis, 2011-01-11 at 12:30 +0900, Itagaki Takahiro wrote:
> On Tue, Jan 11, 2011 at 11:10, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > Itagaki Takahiro <itagaki.takahiro@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.
> 
> The documentation says:
> | Input is accepted in a variety of formats,
> | including integer and floating-point literals
> 
> 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 adding a cast from integer to money is probably quite
reasonable.  The other way around, maybe not, or only an explicit cast.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: ALTER TYPE 0: Introduction; test cases
Следующее
От: Robert Haas
Дата:
Сообщение: Re: ALTER TYPE 0: Introduction; test cases