Re: fortnight interval support - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: fortnight interval support
Date
Msg-id CAHyXU0yTC+EuxTWra7QYgoP+hbAxo_+nuj6x12=hLG0pOZn8qQ@mail.gmail.com
Whole thread Raw
In response to fortnight interval support  (Nathan Wagner <nw+pg@hydaspes.if.org>)
Responses Re: fortnight interval support  (Nathan Wagner <nw+pg@hydaspes.if.org>)
List pgsql-hackers
On Tue, Oct 27, 2015 at 8:52 AM, Nathan Wagner <nw+pg@hydaspes.if.org> wrote:
> On Mon, Oct 26, 2015 at 01:58:52PM -0400, Robert Haas wrote:
>> Aw, you're no fun.  select '1 fortnight'::interval => '14 days' would be cool.
>
> Patch attached...
>
> :)

This is very cool (you are 100% certain there are no performance
impacts on current cases, right?)!   :-)

merlin



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Duplicated assignment of slot_name in walsender.c
Next
From: David Fetter
Date:
Subject: Re: fortnight interval support