added postgres sequence generators for date block aggregation