Skip to content

Commit 76856d4

Browse files
authored
Fix several typos (#418)
1 parent f8dfa47 commit 76856d4

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

doc/migration_to_partman.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ This next step takes advantage of anonymous code blocks. It's basically writing
163163
, v_row.child_table
164164
, substring(v_row.child_table from 1 for 4)||'_p'||to_char(v_min_val, 'IYYY"w"IW'));
165165

166-
-- I just have it outputing the ALTER statement for review. If you'd like this code to actually run it, uncomment the EXECUTE below.
166+
-- I just have it outputting the ALTER statement for review. If you'd like this code to actually run it, uncomment the EXECUTE below.
167167
RAISE NOTICE '%', v_sql;
168168
-- EXECUTE v_sql;
169169
END LOOP;
@@ -216,7 +216,7 @@ We'll be partitioning by 1000 again and you can see none of the minimum values a
216216
, v_row.child_table
217217
, substring(v_row.child_table from 1 for 4)||'_p'||v_min_val::text);
218218

219-
-- I just have it outputing the ALTER statement for review. If you'd like this code to actually run it, uncomment the EXECUTE below.
219+
-- I just have it outputting the ALTER statement for review. If you'd like this code to actually run it, uncomment the EXECUTE below.
220220
RAISE NOTICE '%', v_sql;
221221
-- EXECUTE v_sql;
222222
END LOOP;
@@ -251,7 +251,7 @@ Setup pg_partman to manage your partition set.
251251
SELECT partman.create_parent('tracking.hits', 'start', 'partman', 'weekly');
252252
COMMIT;
253253

254-
This single function call will add your old partition set into pg_partman's configuration, create a new trigger and possibly create some new child tables as well. pg_partman always keeps a minumum number of future partitions premade (based on the *premake* value in the config table or as a parameter to the create_parent() function), so if you don't have those yet, this step will take care of that as well. Adjust the parameters as needed and see the documentation for addtional options that are available. This call matches the time partition used in the example so far.
254+
This single function call will add your old partition set into pg_partman's configuration, create a new trigger and possibly create some new child tables as well. pg_partman always keeps a minimum number of future partitions premade (based on the *premake* value in the config table or as a parameter to the create_parent() function), so if you don't have those yet, this step will take care of that as well. Adjust the parameters as needed and see the documentation for additional options that are available. This call matches the time partition used in the example so far.
255255

256256
\d+ tracking.hits
257257
Table "tracking.hits"

0 commit comments

Comments
 (0)