https://github.com/keithf4/pg_partman
PostgreSQL Partition Manager is an extension to help make managing time or serial id based table partitioning easier.