Re: proposal: rounding up time value less than its unit.

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, Tomonari Katsumata <t(dot)katsumata1122(at)gmail(dot)com>, David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: rounding up time value less than its unit.
Date: 2014-09-23 14:36:03
Message-ID: CA+TgmoZdg+6OGJdLQN1aQ3jYZsNUPuj=-u7W7iFpNYpW4FescA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 23, 2014 at 10:29 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Robert Haas <robertmhaas(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-09-23 14:42:51 Re: Scaling shared buffer eviction
Previous Message Robert Haas 2014-09-23 14:31:24 Re: Scaling shared buffer eviction