From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | "Zot O'Connor" <zot(at)zotconsulting(dot)com> |
Cc: | PostgreSQL-SQL <pgsql-sql(at)postgreSQL(dot)org>, Jan Wieck <jwieck(at)debis(dot)com> |
Subject: | Re: [SQL] Decimal precsion? |
Date: | 1999-10-30 00:30:48 |
Message-ID: | 199910300030.UAA25626@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 1
test=> insert into example values(0.1234567);
INSERT 19489 1
test=> select * from example;
other
------
0.1235
0.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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 1999-10-30 04:11:11 | Re: [SQL] tuning large selects |
Previous Message | Bruce Momjian | 1999-10-30 00:19:26 | Re: [SQL] trivial problem |