Re: Numeric and money

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Numeric and money
Дата
Msg-id 17683.978554209@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Numeric and money  (Michael Davis <mdavis@sevainc.com>)
Список pgsql-sql
[ mail lists trimmed to something a tad more reasonable ]

Michael Davis <mdavis@sevainc.com> writes:
> From within Access, I can't update any table with a numeric data type
> because of the "select * from tst where amount = 1.1;" failure.

Yeah.  The problem here is the conflict between interpreting '1.1' as
a "float8" constant vs. interpreting it as a "numeric" constant.  In order
to fix this we need to settle on a better type promotion hierarchy among
the various numeric datatypes.  You can find past discussions of the
issue in the pghackers archives.  I made a proposal on 13-May-2000 that
I think was objected to by some people, though I don't recall exactly
why.

            regards, tom lane

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

Предыдущее
От: "Francis Solomon"
Дата:
Сообщение: RE: Numeric and money
Следующее
От: Tom Lane
Дата:
Сообщение: Re: sql99 / sql3