summaryrefslogtreecommitdiff
path: root/doc/src/sgml
diff options
context:
space:
mode:
authorFujii Masao2020-10-15 02:04:07 +0000
committerFujii Masao2020-10-15 02:04:07 +0000
commit564a410c81b4a9d289c948690a3135d0cd25411b (patch)
treea5b27849b4d2c2b17aa00e75e841cccdfe806406 /doc/src/sgml
parent4e9821b6fac5042e872d5397f711a67984b165f8 (diff)
doc: Mention that toast_tuple_target affects also column marked as Main.
Previously it was documented that toast_tuple_target affected column marked as only External or Extended. But this description is not correct and toast_tuple_target affects also column marked as Main. Back-patch to v11 where toast_tuple_target reloption was introduced. Author: Shinya Okano Reviewed-by: Tatsuhito Kasahara, Fujii Masao Discussion: https://postgr.es/m/93f46e311a67422e89e770d236059817@oss.nttdata.com
Diffstat (limited to 'doc/src/sgml')
-rw-r--r--doc/src/sgml/ref/create_table.sgml9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml
index 28f844071b0..fd6777ae019 100644
--- a/doc/src/sgml/ref/create_table.sgml
+++ b/doc/src/sgml/ref/create_table.sgml
@@ -1359,10 +1359,11 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
<listitem>
<para>
The toast_tuple_target specifies the minimum tuple length required before
- we try to move long column values into TOAST tables, and is also the
- target length we try to reduce the length below once toasting begins.
- This only affects columns marked as either External or Extended
- and applies only to new tuples; there is no effect on existing rows.
+ we try to compress and/or move long column values into TOAST tables, and
+ is also the target length we try to reduce the length below once toasting
+ begins. This affects columns marked as External (for move),
+ Main (for compression), or Extended (for both) and applies only to new
+ tuples. There is no effect on existing rows.
By default this parameter is set to allow at least 4 tuples per block,
which with the default block size will be 2040 bytes. Valid values are
between 128 bytes and the (block size - header), by default 8160 bytes.