Re: reducing NUMERIC size for 9.1

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: reducing NUMERIC size for 9.1
Дата
Msg-id AANLkTinLTOANWzZ=jG23UTMWcdq0SxyyzA2Yfwiw+TDk@mail.gmail.com
обсуждение исходный текст
Ответ на Re: reducing NUMERIC size for 9.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jan Otto
Дата:
Сообщение: patch for contrib/isn
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: patch for contrib/isn