Re: SQL error: function round(double precision, integer) does

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SQL error: function round(double precision, integer) does
Дата
Msg-id 873.1109627668@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SQL error: function round(double precision, integer) does  (TJ O'Donnell <tjo@acm.org>)
Список pgsql-sql
"TJ O'Donnell" <tjo@acm.org> writes:
> Is there some fundamental reason for round(dp) but round(numeric,int)?

I think the main argument against supporting round(dp,int) is that the
result would be inherently inexact (at least for int>0).
        regards, tom lane


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

Предыдущее
От: "Casey T. Deccio"
Дата:
Сообщение: Re: table constraints
Следующее
От: Don Drake
Дата:
Сообщение: Re: AutoCommit and DDL