@@ -2932,7 +2932,7 @@ VALUES ('Albany', NULL, NULL, 'NY');
2932
2932
tables and partitions. For example, a partition cannot have any parents
2933
2933
other than the partitioned table it is a partition of, nor can a regular
2934
2934
table inherit from a partitioned table making the latter its parent.
2935
- That means partitioned table and partitions do not participate in
2935
+ That means partitioned tables and partitions do not participate in
2936
2936
inheritance with regular tables. Since a partition hierarchy consisting
2937
2937
of the partitioned table and its partitions is still an inheritance
2938
2938
hierarchy, all the normal rules of inheritance apply as described in
@@ -3036,11 +3036,12 @@ CREATE TABLE measurement (
3036
3036
<para>
3037
3037
You may decide to use multiple columns in the partition key for range
3038
3038
partitioning, if desired. Of course, this will often result in a larger
3039
- number of partitions, each of which is individually smaller.
3040
- criteria. Using fewer columns may lead to coarser-grained
3041
- A query accessing the partitioned table will have
3042
- to scan fewer partitions if the conditions involve some or all of these
3043
- columns. For example, consider a table range partitioned using columns
3039
+ number of partitions, each of which is individually smaller. On the
3040
+ other hand, using fewer columns may lead to a coarser-grained
3041
+ partitioning criteria with smaller number of partitions. A query
3042
+ accessing the partitioned table will have to scan fewer partitions if
3043
+ the conditions involve some or all of these columns.
3044
+ For example, consider a table range partitioned using columns
3044
3045
<structfield>lastname</> and <structfield>firstname</> (in that order)
3045
3046
as the partition key.
3046
3047
</para>
@@ -3167,8 +3168,8 @@ CREATE INDEX ON measurement_y2008m01 (logdate);
3167
3168
</para>
3168
3169
3169
3170
<para>
3170
- The simplest option for removing old data is simply to drop the partition
3171
- that is no longer necessary:
3171
+ The simplest option for removing old data is to drop the partition that
3172
+ is no longer necessary:
3172
3173
<programlisting>
3173
3174
DROP TABLE measurement_y2006m02;
3174
3175
</programlisting>
@@ -3595,8 +3596,8 @@ DO INSTEAD
3595
3596
<sect3 id="ddl-partitioning-inheritance-maintenance">
3596
3597
<title>Partition Maintenance</title>
3597
3598
<para>
3598
- To remove old data quickly, simply to drop the partition that is no
3599
- longer necessary:
3599
+ To remove old data quickly, simply drop the partition that is no longer
3600
+ necessary:
3600
3601
<programlisting>
3601
3602
DROP TABLE measurement_y2006m02;
3602
3603
</programlisting>
@@ -3692,7 +3693,7 @@ ANALYZE measurement;
3692
3693
Triggers or rules will be needed to route rows to the desired
3693
3694
partition, unless the application is explicitly aware of the
3694
3695
partitioning scheme. Triggers may be complicated to write, and will
3695
- be much slower than the tuple routing performed interally by
3696
+ be much slower than the tuple routing performed internally by
3696
3697
declarative partitioning.
3697
3698
</para>
3698
3699
</listitem>
0 commit comments