Wanted to make a table of net user growth for further analysis in some spreadsheet or other.
The obvious query (in the snippet it is the inner query) only generates rows for days with at least one registration. For this to make nice charts, we need to add blank rows with the missing dates. The set returning function generate_series
creates the equivalent of a temporary table to join with.