| From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | jwieck(at)debis(dot)com |
| Cc: | jose(at)sferacarta(dot)com, pgsql-hackers(at)postgreSQL(dot)org |
| Subject: | Re: [HACKERS] numeric & decimal |
| Date: | 1999-04-27 16:21:55 |
| Message-ID: | 199904271621.MAA03220@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(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 | Matthias Schmitt | 1999-04-27 16:22:33 | Hacker found bug in Postgres ? |
| Previous Message | Bruce Momjian | 1999-04-27 16:19:39 | Re: [HACKERS] Lock freeze ? in MVCC |