From 24f0e395ac5892cd12e8914646fe921fac5ba23d Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Mon, 22 Mar 2021 10:34:10 -0400 Subject: [PATCH] docs: Fix omissions related to configurable TOAST compression. 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.GD4203@telsasoft.com --- doc/src/sgml/config.sgml | 22 ++++++++++++++++++++++ doc/src/sgml/ref/pg_dump.sgml | 12 ++++++++++++ 2 files changed, 34 insertions(+) diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index ee4925d6d9..5679b40dd5 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -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) diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index bcbb7a25fb..989b8e2381 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -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. + + + +