Re: Inputting relative datetimes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Inputting relative datetimes
Date
Msg-id 17471.1314719547@sss.pgh.pa.us
Whole thread Raw
In response to Re: Inputting relative datetimes  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Inputting relative datetimes
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Sun, Aug 28, 2011 at 5:39 AM, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
>> The attached patch makes "today", "tomorrow" and "yesterday" only set
>> the year, month and day fields. All the other fields are already
>> initialised to 0 at the start, and may be set non-zero before or after
>> encountering these special date values. The result should now be
>> independent of the order of the fields.

> OK, committed.  Perhaps it should be back-patched,

No, I don't think so.  This is an incompatible behavioral change with a
small-but-not-zero probability of breaking existing applications.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Inputting relative datetimes
Next
From: Robert Haas
Date:
Subject: Re: Inputting relative datetimes