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

From Robert Haas
Subject Re: proposal: rounding up time value less than its unit.
Date
Msg-id CA+TgmoZdg+6OGJdLQN1aQ3jYZsNUPuj=-u7W7iFpNYpW4FescA@mail.gmail.com
Whole thread Raw
In response to Re: proposal: rounding up time value less than its unit.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Sep 23, 2014 at 10:29 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> Three people have voted for making it an *error* to supply a value
>> that needs to be rounded, instead of changing the rounding behavior.
>
> Votes or no votes, that's a horrible idea; it breaks the design goal
> that users shouldn't need to remember the precise unit size when making
> postgresql.conf entries.

Not at all.  You can still supply the value in another unit as long as
it converts exactly.  If it doesn't, shouldn't you care about that?

> And I'm not sure what votes you're counting, anyway.  People's opinions
> have changed as the discussion proceeded ...

David Johnston, Peter Eisentraut, myself.  I don't see any indication
that any of those three people have reversed their opinion at any
point.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Scaling shared buffer eviction
Next
From: Andres Freund
Date:
Subject: Re: Scaling shared buffer eviction