Re: [HACKERS] numeric & decimal

Jan Wieck <jwieck@debis.com>

From: jwieck@debis.com (Jan Wieck)
To: jwieck@debis.com
Cc: jose@sferacarta.com, pgsql-hackers@postgreSQL.org
Date: 1999-04-27T13:37:45Z
Lists: pgsql-hackers
I wrote:

>     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.

    It doesn't and I did.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#======================================== jwieck@debis.com (Jan Wieck) #