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

Поиск
Список
Период
Сортировка
От Corey Huinker
Тема Re: Add generate_series(date,date) and generate_series(date,date,integer)
Дата
Msg-id CADkLM=fy6hpCxt1VVuXESzQCpibb75mbGqVmt3asrcwRFah+Gg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add generate_series(date,date) and generate_series(date,date,integer)  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Ответы Re: Add generate_series(date,date) and generate_series(date,date,integer)
Список pgsql-hackers

I feel rather uneasy about simply removing the 'infinity' checks. Is there a way to differentiate those two cases, i.e. when the generate_series is called in target list and in the FROM part? If yes, we could do the check only in the FROM part, which is the case that does not work (and consumes arbitrary amounts of memory).


It would be simple enough to remove the infinity test on the "stop" and leave it on the "start". Or yank both. Just waiting for others to agree which checks should remain.


 

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Vitaly Burovoy
Дата:
Сообщение: Re: [PATCH] Supporting +-Infinity values by to_timestamp(float8)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Optimization for updating foreign tables in Postgres FDW