diff options
author | Fujii Masao <fujii@postgresql.org> | 2020-10-15 11:04:07 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2020-10-15 11:08:47 +0900 |
commit | cc1fc7b862a38c22f584acc40b7b782d54550d69 (patch) | |
tree | 8ac2e1bbebe3e02da2eaa60d288bc1e2ba485071 | |
parent | cfa4cff30c3021597473178e1c6c5592f6437119 (diff) | |
download | postgresql-cc1fc7b862a38c22f584acc40b7b782d54550d69.tar.gz postgresql-cc1fc7b862a38c22f584acc40b7b782d54550d69.zip |
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
-rw-r--r-- | doc/src/sgml/ref/create_table.sgml | 9 |
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 2b9848b6806..f4b23577584 100644 --- a/doc/src/sgml/ref/create_table.sgml +++ b/doc/src/sgml/ref/create_table.sgml @@ -1260,10 +1260,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 blocksize will be 2040 bytes. Valid values are between 128 bytes and the (blocksize - header), by default 8160 bytes. |