Re: cash_mul_int8 / cash_div_int8

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: cash_mul_int8 / cash_div_int8
Дата
Msg-id CAB7nPqTJUmvhcr4tQ2gtnvYBNDHVXLyXKsNOaSDDhQhNcBrJuw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: cash_mul_int8 / cash_div_int8  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
Список pgsql-hackers
On Thu, Oct 8, 2015 at 12:11 AM, Kohei KaiGai <kaigai@kaigai.gr.jp> wrote:
> Also, cash_pl, cash_mi, cash_mul_int4 and so on... does not have overflow checks
> like as int8pl has.
>
> Of course, most of people don't need to worry about 64bit overflow for
> money... :-).

If you are using Zimbabwean dollar that's an issue:
https://en.wikipedia.org/wiki/Zimbabwean_dollar#Hyperinflation
-- 
Michael



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: More work on SortSupport for text - strcoll() and strxfrm() caching
Следующее
От: Haribabu Kommi
Дата:
Сообщение: RLS bug in expanding security quals