Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 53c07db

Browse files
committed
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
1 parent 72e43fc commit 53c07db

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/src/sgml/ref/create_table.sgml

+5-4
Original file line numberDiff line numberDiff line change
@@ -1359,10 +1359,11 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
13591359
<listitem>
13601360
<para>
13611361
The toast_tuple_target specifies the minimum tuple length required before
1362-
we try to move long column values into TOAST tables, and is also the
1363-
target length we try to reduce the length below once toasting begins.
1364-
This only affects columns marked as either External or Extended
1365-
and applies only to new tuples; there is no effect on existing rows.
1362+
we try to compress and/or move long column values into TOAST tables, and
1363+
is also the target length we try to reduce the length below once toasting
1364+
begins. This affects columns marked as External (for move),
1365+
Main (for compression), or Extended (for both) and applies only to new
1366+
tuples. There is no effect on existing rows.
13661367
By default this parameter is set to allow at least 4 tuples per block,
13671368
which with the default block size will be 2040 bytes. Valid values are
13681369
between 128 bytes and the (block size - header), by default 8160 bytes.

0 commit comments

Comments
 (0)