On Wed, Aug 4, 2010 at 12:55 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Robert Haas <robertmhaas(at)gmail(dot)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