Re: SQL error: function round(double precision, integer) does - Mailing list pgsql-sql

From Tom Lane
Subject Re: SQL error: function round(double precision, integer) does
Date
Msg-id 873.1109627668@sss.pgh.pa.us
Whole thread Raw
In response to Re: SQL error: function round(double precision, integer) does  (TJ O'Donnell <tjo@acm.org>)
List 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 by date:

Previous
From: "Casey T. Deccio"
Date:
Subject: Re: table constraints
Next
From: Don Drake
Date:
Subject: Re: AutoCommit and DDL