postgres.git / summary / log / commit / refs

commit    4b4b5eae90e5b355c24164c8cea0ca277ae30527
Author:   Michael Paquier <michael@paquier.xyz>
Date:     Mon Sep 14 05:12:00 2026 +0000

    doc: Mention REPACK in description of reloption toast_value_type
    
    The value set in toast_value_type does not affect the underlying TOAST
    table across rewrites.  VACUUM FULL and CLUSTER were mentioned, but not
    REPACK.
    
    Suggested-by: Marcos Pegoraro <marcos@f10.com.br>
    Discussion: https://postgr.es/m/CAB-JLwbsYHxo5qdWyj1WbRDhxfxsKqg9Y2=wQ4Xwjm51wsLVPg@mail.gmail.com


doc/src/sgml/ref/create_table.sgml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml index 79622c1a23d..99b7afa23d2 100644 --- a/doc/src/sgml/ref/create_table.sgml +++ b/doc/src/sgml/ref/create_table.sgml @@ -1670,7 +1670,8 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM The value is only consulted when the <acronym>TOAST</acronym> relation is created. Changing it afterwards has no effect on an existing <acronym>TOAST</acronym> relation, and a table rewrite such as - <link linkend="sql-cluster"><command>CLUSTER</command></link> or + <link linkend="sql-cluster"><command>CLUSTER</command></link>, + <link linkend="sql-repack"><command>REPACK</command></link> or <link linkend="sql-vacuum"><command>VACUUM FULL</command></link> preserves the type already in use. A dump and restore, on the other hand, recreates the <acronym>TOAST</acronym> relation and therefore