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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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