Re: Re: Add generate_series(date,date) and generate_series(date,date,integer)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: Add generate_series(date,date) and generate_series(date,date,integer)
Дата
Msg-id 3753.1458237032@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: Add generate_series(date,date) and generate_series(date,date,integer)  (Robert Haas <robertmhaas@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: checkpointer continuous flushing
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Proposal: BSD Authentication support