generating date sequences - Mailing list pgsql-sql

From Patrick Scharrenberg
Subject generating date sequences
Date
Msg-id 48FC8696.2080201@web.de
Whole thread Raw
Responses Re: generating date sequences  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
List pgsql-sql
Hi!
Is there a simple way to generate sequences of dates like the following?"2008-07-03 00:00:00""2008-07-04
00:00:00""2008-07-0500:00:00""2008-07-06 00:00:00"
 


I'd like to join a table to aggregate the number of items for each day
(each item has a timestamp).
For some days however there are no items, resulting in no row instead of
a row with zero items.
I'd like to fill these empty rows.

I hope I could make my problem clear?!

Best regards
Patrick


pgsql-sql by date:

Previous
From: "aldy"
Date:
Subject: my rules wont execute
Next
From: "A. Kretschmer"
Date:
Subject: Re: generating date sequences