django-postgres-extra icon indicating copy to clipboard operation
django-postgres-extra copied to clipboard

Add in Hourly Partition Support

Open Toruitas opened this issue 8 months ago • 0 comments

This PR adds support for Hourly partitions, using the existing time-based partitions functionality.

I've added new unit tests, and all the old unit tests still pass.

Also added an example in docs/source/table_partitioning.rst

When using hourly partitions, they start at 00:00 of any given day, in order to follow the pattern given by weekly and monthly partitions, which start on Monday and the 1st of the month respectively.

Toruitas avatar Oct 10 '23 16:10 Toruitas