Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] numeric & decimal

From: jwieck(at)debis(dot)com (Jan Wieck)
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 13:37:45
Message-ID: m10c83V-000EBYC@orion.SAPserv.Hamburg.dsh.de (view raw or flat)
Thread:
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(at)debis(dot)com (Jan Wieck) #



In response to

pgsql-hackers by date

Next:From: Brian P MillettDate: 1999-04-27 13:49:06
Subject: TRAP: Bad Argument to Function Call
Previous:From: JP RosevearDate: 1999-04-27 13:29:19
Subject: Re: [GENERAL] unknown symbol 'lo_unlink'

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group