Re: [BUGS] numerics lose scale and precision in views of unions

Поиск
Список
Период
Сортировка
От Andrew - Supernews
Тема Re: [BUGS] numerics lose scale and precision in views of unions
Дата
Msg-id slrnedlakr.gmd.andrew+nonews@atlantis.supernews.net
обсуждение исходный текст
Ответ на Re: [BUGS] numerics lose scale and precision in views of unions  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [BUGS] numerics lose scale and precision in views of unions  (mark@mark.mielke.cc)
Список pgsql-hackers
On 2006-08-10, Stephen Frost <sfrost@snowman.net> wrote:
>> Yeah, because numeric_cmp says that 1.0 and 1.00 are equal (what else
>> could it say?  "less" and "greater" are surely wrong).  So you need to
>
> It could say "not equal" pretty reasonably as the scale is
> different.

The comparison function must be trichotomous, that is the possible results
are "equal", "greater", and "less". There is no other "not equal" result.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Win32 max connections bug (causing crashes)
Следующее
От: Robert Treat
Дата:
Сообщение: Re: 8.2 features status