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

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add generate_series(date, date) and generate_series(date, date, integer)
Date: 2016-01-26 06:52:06
Message-ID: CANP8+jL2_NpjTZtQX80LCAhH8bucDjHHvD7H0Mtq60PdYeeR9Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 25 January 2016 at 09:55, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
wrote:

> Imagine for example a script that in some rare cases passes happens to
> pass infinity into generate_series() - in that case I'd much rather error
> out than wait till the end of the universe.
>
> So +1 from me to checking for infinity.
>

+1

ERROR infinite result sets are not supported, yet

--
Simon Riggs http://www.2ndQuadrant.com/
<http://www.2ndquadrant.com/>
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2016-01-26 07:05:00 Re: custom function for converting human readable sizes to bytes
Previous Message Catalin Iacob 2016-01-26 06:31:59 Re: proposal: PL/Pythonu - function ereport