Re: [SQL] Fill array with series

2012-03-22 Thread Pavel Stehule
Hello no, there is nothing similar. Regards Pavel 2012/3/22 Lee Hachadoorian : > Is there a single function that will generate a series and return an array? > The best I've come up with is to combine array_agg and generate_series: > > SELECT array_agg(generate_series) FROM generate_series(5, 23

[SQL] Fill array with series

2012-03-22 Thread Lee Hachadoorian
Is there a single function that will generate a series and return an array? The best I've come up with is to combine array_agg and generate_series: SELECT array_agg(generate_series) FROM generate_series(5, 23); array_agg - {5,6,7,8,9,10,11,1