Re: proposal: rounding up time value less than its unit.
| От | Tom Lane |
|---|---|
| Тема | Re: proposal: rounding up time value less than its unit. |
| Дата | |
| Msg-id | 7378.1411621485@sss.pgh.pa.us обсуждение |
| Ответ на | Re: proposal: rounding up time value less than its unit. (David Johnston <david.g.johnston@gmail.com>) |
| Ответы |
Re: proposal: rounding up time value less than its unit.
|
| Список | pgsql-hackers |
David Johnston <david.g.johnston@gmail.com> writes:
> On Thu, Sep 25, 2014 at 12:46 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> TBH I've also been wondering whether any of these proposed cures are
>> better than the disease. The changes that can be argued to make the
>> behavior more sane are also ones that introduce backwards compatibility
>> issues of one magnitude or another. And I do not have a lot of sympathy
>> for "let's not change anything except to throw an error in a case that
>> seems ambiguous". That's mostly being pedantic, not helpful, especially
>> seeing that the number of field complaints about it is indistinguishable
>> from zero.
> Then what does it matter that we'd choose to error-out?
The number of complaints about the *existing* behavior is indistinguishable
from zero (AFAIR anyway). It does not follow that deciding to throw an
error where we did not before will draw no complaints.
regards, tom lane
В списке pgsql-hackers по дате отправления: