Re: [HACKERS] numeric & decimal - Mailing list pgsql-hackers

From jwieck@debis.com (Jan Wieck)
Subject Re: [HACKERS] numeric & decimal
Date
Msg-id m10c83V-000EBYC@orion.SAPserv.Hamburg.dsh.de
Whole thread Raw
In response to Re: [HACKERS] numeric & decimal  (jwieck@debis.com (Jan Wieck))
List 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) #

pgsql-hackers by date:

Previous
From: JP Rosevear
Date:
Subject: Re: [GENERAL] unknown symbol 'lo_unlink'
Next
From: Brian P Millett
Date:
Subject: TRAP: Bad Argument to Function Call