Re: temporal variants of generate_series() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: temporal variants of generate_series()
Date
Msg-id 406.1178053725@sss.pgh.pa.us
Whole thread Raw
In response to Re: temporal variants of generate_series()  (Jim Nasby <decibel@decibel.org>)
Responses Re: temporal variants of generate_series()
List pgsql-hackers
Jim Nasby <decibel@decibel.org> writes:
> Are you sure the case statements are needed? It seems it would be  
> better to just punt to the behavior of generate_series (esp. if  
> generate_series eventually learns how to count backwards).

What's this "eventually"?

regression=# select * from generate_series(10,1,-1);generate_series
-----------------             10              9              8              7              6              5
4              3              2              1
 
(10 rows)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Ale Raza
Date:
Subject: Where to find kind code for STATISTIC_KIND GEOMETRY?
Next
From: "Simon Riggs"
Date:
Subject: NO INHERIT