docs: Fix omissions related to configurable TOAST compression.
authorRobert Haas
Mon, 22 Mar 2021 14:34:10 +0000 (10:34 -0400)
committerRobert Haas
Mon, 22 Mar 2021 14:34:10 +0000 (10:34 -0400)
Previously, the default_toast_compression GUC was not documented,
and neither was pg_dump's new --no-toast-compression option.

Justin Pryzby and Robert Haas

Discussion: http://postgr.es/m/20210321235544[email protected]

doc/src/sgml/config.sgml
doc/src/sgml/ref/pg_dump.sgml

index ee4925d6d92892c9f08da4b93f7df094cdd7a0de..5679b40dd568c11b65cd4b906ed1e3215205ad36 100644 (file)
@@ -8108,6 +8108,28 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
       
      
 
+     
+      default_toast_compression (string)
+      
+       default_toast_compression configuration parameter
+      
+      
+      
+       
+        This variable sets the default
+        TOAST
+        compression method for columns of newly-created tables. The
+        CREATE TABLE statement can override this default
+        by specifying the COMPRESSION column option.
+
+        The supported compression methods are pglz and
+        (if configured at the time PostgreSQL was
+        built) lz4.
+        The default is pglz.
+       
+      
+     
+
      
       default_tablespace (string)
       
index bcbb7a25fb7350baedb63a3e280de4df87dddc13..989b8e238152895a1ae209808661ad7b3138a810 100644 (file)
@@ -931,6 +931,18 @@ PostgreSQL documentation
       
      
 
+     
+      
+      
+       
+        Do not output commands to set TOAST compression
+        methods.
+        With this option, all objects will be created using whichever
+        compression method is the default during restore.
+       
+      
+     
+