1
1
<!--
2
- $PostgreSQL: pgsql/doc/src/sgml/ref/create_table.sgml,v 1.117 2009/10/12 19:49:24 adunstan Exp $
2
+ $PostgreSQL: pgsql/doc/src/sgml/ref/create_table.sgml,v 1.118 2009/10/13 00:53:07 tgl Exp $
3
3
PostgreSQL documentation
4
4
-->
5
5
@@ -231,7 +231,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable class="PAR
231
231
</para>
232
232
233
233
<para>
234
- Columnstorage parameters are also copied from parent tables.
234
+ Column<literal>STORAGE</> settings are also copied from parent tables.
235
235
</para>
236
236
237
237
<!--
@@ -285,25 +285,27 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable class="PAR
285
285
specified.
286
286
</para>
287
287
<para>
288
- Storage parameters for the copied column definitions will only be copied
289
- if <literal>INCLUDING STORAGE</literal> is specified. The default
290
- behavior is to exclude storage parameters, resulting in the copied
291
- columns in the new table having type-specific default parameters. For
292
- more on storage parameters, see <xref linkend="storage-toast">.
288
+ <literal>STORAGE</> settings for the copied column definitions will only
289
+ be copied if <literal>INCLUDING STORAGE</literal> is specified. The
290
+ default behavior is to exclude <literal>STORAGE</> settings, resulting
291
+ in the copied columns in the new table having type-specific default
292
+ settings. For more on <literal>STORAGE</> settings, see
293
+ <xref linkend="storage-toast">.
293
294
</para>
294
295
<para>
295
- Comments for the copiedcolumn, constraint, index andcolumns of index
296
- definitions will only be copied if <literal>INCLUDING COMMENTS</literal>
297
- is specified. The default behavior is to exclude comments, resulting in
298
- the copied columns and constraints in the new table having no comments.
296
+ Comments for the copiedcolumns, constraints, andindexes
297
+ will only be copied if <literal>INCLUDING COMMENTS</literal>
298
+ is specified. The default behavior is to exclude comments, resulting in
299
+ the copied columns and constraints in the new table having no comments.
299
300
</para>
300
301
<para>
301
302
<literal>INCLUDING ALL</literal> is an abbreviated form of
302
303
<literal>INCLUDING DEFAULTS INCLUDING CONSTRAINTS INCLUDING INDEXES INCLUDING STORAGE INCLUDING COMMENTS</literal>.
303
304
</para>
304
305
<para>
305
- Note also that unlike <literal>INHERITS</literal>, copied columns and
306
- constraints are not merged with similarly named columns and constraints.
306
+ Note also that unlike <literal>INHERITS</literal>, columns and
307
+ constraints copied by <literal>LIKE</> are not merged with similarly
308
+ named columns and constraints.
307
309
If the same name is specified explicitly or in another
308
310
<literal>LIKE</literal> clause, an error is signalled.
309
311
</para>
@@ -752,14 +754,14 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable class="PAR
752
754
<para>
753
755
Enables or disables the autovacuum daemon on a particular table.
754
756
If true, the autovacuum daemon will initiate a <command>VACUUM</> operation
755
- on a particular table when the number of updated or deleted tuples exceeds
756
- <literal>autovacuum_vacuum_threshold</> plus
757
- <literal>autovacuum_vacuum_scale_factor</> times the number of live tuples
757
+ on a particular table when the number of updated or deleted tuples exceeds
758
+ <literal>autovacuum_vacuum_threshold</> plus
759
+ <literal>autovacuum_vacuum_scale_factor</> times the number of live tuples
758
760
currently estimated to be in the relation.
759
761
Similarly, it will initiate an <command>ANALYZE</> operation when the
760
762
number of inserted, updated or deleted tuples exceeds
761
- <literal>autovacuum_analyze_threshold</> plus
762
- <literal>autovacuum_analyze_scale_factor</> times the number of live tuples
763
+ <literal>autovacuum_analyze_threshold</> plus
764
+ <literal>autovacuum_analyze_scale_factor</> times the number of live tuples
763
765
currently estimated to be in the relation.
764
766
If false, this table will not be autovacuumed, except to prevent
765
767
transaction Id wraparound. See <xref linkend="vacuum-for-wraparound"> for
@@ -775,7 +777,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable class="PAR
775
777
<listitem>
776
778
<para>
777
779
Minimum number of updated or deleted tuples before initiate a
778
- <command>VACUUM</> operation on a particular table.
780
+ <command>VACUUM</> operation on a particular table.
779
781
</para>
780
782
</listitem>
781
783
</varlistentry>
@@ -834,7 +836,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable class="PAR
834
836
<para>
835
837
Custom <xref linkend="guc-vacuum-freeze-min-age"> parameter. Note that
836
838
autovacuum will ignore attempts to set a per-table
837
- <literal>autovacuum_freeze_min_age</> larger than the half system-wide
839
+ <literal>autovacuum_freeze_min_age</> larger than the half system-wide
838
840
<xref linkend="guc-autovacuum-freeze-max-age"> setting.
839
841
</para>
840
842
</listitem>