Permalink
Browse files

Docs update

  • Loading branch information...
keithf4 committed Jan 11, 2013
1 parent 509042b commit a3b5c5db66a446670860ba852abd4ce87966e7d5
Showing with 4 additions and 4 deletions.
  1. +1 −1 README.md
  2. +3 −3 doc/pg_partman.md
View
@@ -36,7 +36,7 @@ If you're looking to do time-based partitioning, and will only be inserting new
SELECT part.create_parent('test.part_test', 'col3', 'time-static', 'daily');
-This will turn your table into a parent table and premake 3 future partitions. To make new partitions for time-based partitioning, run the run_maintenance() function. Ideally, you'd run this as a cronjob to keep new partitions premade in preparation of new data.
+This will turn your table into a parent table and premake 4 future partitions. To make new partitions for time-based partitioning, run the run_maintenance() function. Ideally, you'd run this as a cronjob to keep new partitions premade in preparation of new data.
This should be enough to get you started. Please see the pg_partman.md file in the doc folder for more information on the types of partitioning supported and what the parameters in the create_parent() function mean.
View
@@ -65,7 +65,7 @@ All functions are run with SECURITY DEFINER, so just ensure that the function ow
* Returns the number of rows that were moved from the parent table to partitions. Returns zero when parent table is empty and partitioning is complete.
*check_parent() RETURNS SETOF (parent table, count)*
- * Run this function to monitor that the parent tables of the partition sets that pg_partmon manages do not get rows inserted to them.
+ * Run this function to monitor that the parent tables of the partition sets that pg_partman manages do not get rows inserted to them.
* Returns a row for each parent table along with the number of rows it contains. Returns zero rows if none found.
*drop_time_partition(p_parent_table text, p_keep_table boolean DEFAULT NULL, p_keep_index boolean DEFAULT NULL)*
@@ -101,8 +101,8 @@ Tables
Default is TRUE to keep the table and only uninherit it. Set to FALSE to have the child tables removed from the database completely.
retention_keep_index - Boolean value to determine whether indexes are dropped for child tables that are uninherited.
Default is TRUE. Set to FALSE to have the child table's indexes dropped when it is uninherited.
- datetime_string text - For time-based partitioning, this is the datetime format string used when naming child partitions.
+ datetime_string - For time-based partitioning, this is the datetime format string used when naming child partitions.
**DO NOT CHANGE THIS VALUE** or you will break automated partition management.
- last_partition text - The last successfully created partition.
+ last_partition - The last successfully created partition.
**DO NOT CHANGE THIS VALUE** or you will break automated partition management.

0 comments on commit a3b5c5d

Please sign in to comment.