Re: Re: Add generate_series(date,date) and generate_series(date,date,integer) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Re: Add generate_series(date,date) and generate_series(date,date,integer)
Date
Msg-id 3753.1458237032@sss.pgh.pa.us
Whole thread Raw
In response to Re: Re: Add generate_series(date,date) and generate_series(date,date,integer)  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, Mar 17, 2016 at 12:59 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> One idea that might be worth considering is to define the function
>> as generate_series(date,date,interval) returns timestamp (without
>> time zone).  The point here would be only to move the behavior for
>> date inputs as far as getting timestamp without tz rather than
>> timestamp with tz; which would at least save some timezone rotations
>> in typical use, as well as rather debatable semantics.

> That's a fairly tenuous benefit, though, and a substantially different
> patch.

Well, some folks were already of the opinion that the patch's benefits
were tenuous ;-)

> I think it's time to give up here and move on.

Agreed, letting this go for now seems like the right move.  Maybe
someone will have a bright idea later.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: checkpointer continuous flushing
Next
From: Thomas Munro
Date:
Subject: Re: Proposal: BSD Authentication support