Re: reducing NUMERIC size for 9.1

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2010-08-04T17:35:10Z
Lists: pgsql-hackers
On Wed, Aug 4, 2010 at 12:55 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> *scratches head*
>
>> One of those tests uses < and the other uses <=
>
>> Which one is wrong?
>
> Well, neither, since NUMERIC(0,0) is disallowed.  However, it's probably
> not the place of these functions to assume that, so I'd suggest treating
> equality as valid.

OK, done.  I renamed the argument from typemod to typmod so the tests
would all match byte-for-byte.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company