Re: proposal: rounding up time value less than its unit. - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: proposal: rounding up time value less than its unit.
Date
Msg-id 5425A449.7030903@agliodbs.com
Whole thread Raw
In response to Re: proposal: rounding up time value less than its unit.  (Gregory Smith <gregsmithpgsql@gmail.com>)
Responses Re: proposal: rounding up time value less than its unit.  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
On 09/26/2014 10:27 AM, Stephen Frost wrote:
> I don't think anyone is argueing that we should do away with the
> rounding rules entirely, only that we should a) require units to be
> specified, and b) error if the value specified is below '1 unit', but
> still non-zero, as it would then be rounded to zero.

That would not be a back-portable fix.

There are many 3rd-party tools out there (AWS RDS, for one) which do not
use the units.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: proposal: rounding up time value less than its unit.
Next
From: Stephen Frost
Date:
Subject: Re: proposal: rounding up time value less than its unit.