Skip to content

Commit

Permalink
Update outdated note in docs about switching partitioning strategies
Browse files Browse the repository at this point in the history
  • Loading branch information
Photonios committed Oct 21, 2020
1 parent 36af1f5 commit 9738c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/table_partitioning.rst
Expand Up @@ -363,4 +363,4 @@ You can look at :class:`psqlextra.partitioning.PostgresCurrentTimePartitioningSt
Switching partitioning strategies
*********************************

When switching partitioning strategies, you might encounter the problem that partitions for part of a particular range already exist. In order to combat this, you can specify the ``start_from`` parameter to not create partitions for a date/time earlier than specified.
When switching partitioning strategies, you might encounter the problem that partitions for part of a particular range already exist. In order to combat this, you can use the :class:`psqlextra.partitioning.PostgresTimePartitioningStrategy` and specify the `start_datetime` parameter. As a result, no partitions will be created before the given date/time.

0 comments on commit 9738c69

Please sign in to comment.