Put agg_kind at start of primary key index, as we'll be primarily searching on that column.
Initial pass at solaragg.process_one_agg_stale_datum(char) function to be periodically called to process a single stale aggregate row.
Fix time zone conversion.