Re: [SQL] Decimal precsion?
От | Bruce Momjian |
---|---|
Тема | Re: [SQL] Decimal precsion? |
Дата | |
Msg-id | 199910300030.UAA25626@candle.pha.pa.us обсуждение исходный текст |
Ответы |
Re: [SQL] Decimal precsion?
|
Список | pgsql-sql |
> > Yeah I finnally figured that out, wish the docs would cover things like > that. > > I went through two books (which said its just liek COBOL! and then > ignored me) and finnally the mysql pages had a good right up. > > I still thing the 0.0 thing is an error. > Yes, and why doesn't this generate an error:test=> insert into example values(0.12345);INSERT 19488 1test=> insert into examplevalues(0.1234567);INSERT 19489 1test=> select * from example; other------0.12350.1235(2 rows) Jan, can you comment on this. I found the code in numeric.c, but can't figure out what the proper test should be. -- 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-sql по дате отправления: