Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix doc formatting

  • Loading branch information...
commit 0a4e7a235dee0b8a3a9ebe4c545a3a64bd8cfb2d 1 parent 79f9831
Keith Fiske authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  doc/pg_partman.md
2  doc/pg_partman.md
Source Rendered
@@ -39,7 +39,7 @@ A superuser must be used to run these functions in order to set privileges & own
39 39 > **hourly** - One partition per hour
40 40 > **half-hour** - One partition per 30 minute interval on the half-hour (1200, 1230)
41 41 > **quarter-hour** - One partition per 15 minute interval on the quarter-hour (1200, 1215, 1230, 1245)
42   - > **<integer>** - For ID based partitions, the integer value range of the ID that should be set per partition. This is the actual integer value, not text values like time-based partitioning. Must be greater than zero.
  42 + > **<integer>** - For ID based partitions, the integer value range of the ID that should be set per partition. This is the actual integer value, not text values like time-based partitioning. Must be greater than zero.
43 43 > *Author's Note: If people want decade, century or millenium let me know. They are not trivial to add but I will upon request.*
44 44
45 45 * p_premake - is how many additional partitions to always stay ahead of the current partition. Default value is 4. This will keep at minimum 5 partitions made, including the current one. For example, if today was Sept 6, 2012, and premake was set to 4 for a daily partition, then partitions would be made for the 6th as well as the 7th, 8th, 9th and 10th. As stated above, this value also determines how many partitions outside of the current one the static partitioning trigger function will handle (behind & ahead). Note that weekly partitioning may occasionally cause an extra partition to be premade due to differing month lengths and daylight savings (on non-UTC systems). This won't hurt anything and will self-correct. If partitioning ever falls behind the premake value, normal running of run_maintenance() and data insertion to id-based tables should automatically catch things up.

0 comments on commit 0a4e7a2

Please sign in to comment.
Something went wrong with that request. Please try again.