I\'d like to get the list of days between the two dates (including them) in a PostgreSQL database. For example, if I had:
select generate_series('2012-06-29', '2012-07-03', '1 day'::interval)::date;