| От | Bruce Momjian |
|---|---|
| Тема | Re: [HACKERS] numeric & decimal |
| Дата | |
| Msg-id | 199904271621.MAA03220@candle.pha.pa.us обсуждение |
| Ответ на | Re: [HACKERS] numeric & decimal (jwieck@debis.com (Jan Wieck)) |
| Список | pgsql-hackers |
> For some reason (dunno why) the parser ignores the precision > for DECIMAL. atttypmod is set hardcoded to -1. So the above > is identical to a > > CREATE TABLE test (n numeric(10,3), d decimal); > > I'll test what happens if I enable it in gram.y and if it > doesn't break any regression commit the changes. In the old days, we couldn't handle precision, so we ignored it. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера