https://stackoverflow.com/questions/4531577/how-to-extract-year-and-month-from-date-in-postgresql-without-using-to-char-fu
Anonymous
Use shell scripts to increase leverage and portability.