| От | Guillaume Lelarge |
|---|---|
| Тема | Re: (Bug) Numeric fault calculation |
| Дата | |
| Msg-id | 1371663427.2585.25.camel@localhost.localdomain обсуждение исходный текст |
| Ответ на | Re: (Bug) Numeric fault calculation (David Johnston <polobo@yahoo.com>) |
| Список | pgadmin-support |
On Tue, 2013-06-18 at 15:30 -0700, David Johnston wrote: > Guillaume Lelarge-3 wrote > > If you use a floating > > point datatype (which is what happens when you don't specificy the > > type), > > I covered this in my prior post but per the documentation this is incorrect. > > http://www.postgresql.org/docs/9.0/interactive/sql-syntax-lexical.html#SQL-SYNTAX-CONSTANTS > > 4.1.2.6. Numeric Constants > > "Constants that contain decimal points and/or exponents are always initially > presumed to be type numeric." > postgres=# select pg_typeof(260739.94);pg_typeof -----------numeric (1 row) Seems you're right. Sorry. -- Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com
В списке pgadmin-support по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера