Re: [BUGS] numerics lose scale and precision in views of unions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] numerics lose scale and precision in views of unions
Дата
Msg-id 14349.1155217090@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] numerics lose scale and precision in views of unions  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> This was using just a straight-up 'numeric' data type though.  Perhaps
> for that case we could drop the unnecessary zeros?

That would make numeric useless for the common scientific/engineering
usage where you write the number of decimal places you think are
significant in your measurement.  In that usage, "1.0" and "1.000"
do have different meanings.
        regards, tom lane


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

Предыдущее
От: mark@mark.mielke.cc
Дата:
Сообщение: Re: [BUGS] numerics lose scale and precision in views of unions
Следующее
От: José Orlando Pereira
Дата:
Сообщение: Re: standard interfaces for replication providers