I need to create postgresql function
CREATE FUNCTION date_ranges (_start date, end date)
RETURNING TABLE(day_in_range date) AS...
if I call date_ranges('2010-06-01', 2010-06-05') I should receive
2010-06-01
2010-06-02
2010-06-03
2010-06-04
2010-06-05
Any Ideas how to do it?