Re: Precedence of %

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Precedence of %
Дата
Msg-id 42A1CC12.2040707@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: Precedence of %  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Precedence of %  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> round() and trunc() also have the virtue that they already have versions
> for type numeric.  If we keep the operators then we'll be right back
> with the complaint that was lodged the other day about exponentiation,
> namely unexpected precision loss for numeric inputs:
> 
> regression=# select 12345678901234567890.55 %;
>        ?column?
> ----------------------
>  1.23456789012346e+19
> (1 row)

I don't even grasp what unary modulo actually means???

Chris


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Precedence of %
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Quick-and-dirty compression for WAL backup blocks