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

make `python manage.py pgpartition` smarter

Open j4tmr opened this issue 2 years ago • 1 comments

Currently, when adding new range partition will not acquire the old partition and automatically distribute the time evenly. For example, if i add 10 partitions ahead with 3 months seperated, next time i have to check the start time using PostgresTimePartitioningStrategy or it will occur a overlap partition error. Because range 2022-6-1 to 2022-9-1 and range 2022-5-1 to 2022-8-1 are both accpetable for the 3 months range partition.

j4tmr avatar Jun 23 '22 09:06 j4tmr

Can you please show your partitioning config? This sounds like a misconfiguration.

Photonios avatar Jul 14 '22 20:07 Photonios