Commit 564a410c authored by Fujii Masao's avatar Fujii Masao

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
parent 4e9821b6
...@@ -1359,10 +1359,11 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM ...@@ -1359,10 +1359,11 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
<listitem> <listitem>
<para> <para>
The toast_tuple_target specifies the minimum tuple length required before 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 we try to compress and/or move long column values into TOAST tables, and
target length we try to reduce the length below once toasting begins. is also the target length we try to reduce the length below once toasting
This only affects columns marked as either External or Extended begins. This affects columns marked as External (for move),
and applies only to new tuples; there is no effect on existing rows. 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, 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 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. between 128 bytes and the (block size - header), by default 8160 bytes.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment