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+Tgmoa--uKv52p3KU=DhP4aA0VAfJSQ-T1qPN6Cuct=avo0=A@mail.gmail.com
Whole thread Raw
In response to proposal: rounding up time value less than its unit.  (Tomonari Katsumata <katsumata.tomonari@po.ntts.co.jp>)
Responses Re: proposal: rounding up time value less than its unit.
List pgsql-hackers
On Thu, Jul 10, 2014 at 2:52 AM, Tomonari Katsumata
<katsumata.tomonari@po.ntts.co.jp> wrote:
> Several couple weeks ago, I posted a mail to pgsql-doc.
> http://www.postgresql.org/message-id/53992FF8.2060702@po.ntts.co.jp
>
> In this thread, I concluded that it's better to
> round up the value which is less than its unit.
> Current behavior (rounding down) has undesirable setting risk,
> because some GUCs have special meaning for 0.
>
> And then I made a patch for this.
> Please check the attached patch.

Thanks for the patch.  Please add it here:

https://commitfest.postgresql.org/action/commitfest_view/open

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



pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: better atomics - v0.5
Next
From: Jeff Davis
Date:
Subject: Re: Allow multi-byte characters as escape in SIMILAR TO and SUBSTRING