diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-12-29 16:49:14 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-12-29 16:49:14 +0900 |
commit | 1b3433e25f81d6fc4f231887ab965e1ea1bcb47e (patch) | |
tree | e50d1b8c259dc9fe9d4e3ce1e2a0f9536a4a53ce | |
parent | 3995c424984e991b1069a2869af972dc07574c0b (diff) | |
download | postgresql-1b3433e25f81d6fc4f231887ab965e1ea1bcb47e.tar.gz postgresql-1b3433e25f81d6fc4f231887ab965e1ea1bcb47e.zip |
doc: Improve description of min_dynamic_shared_memory
While on it, fix one oversight in 90fbf7c, that introduced a reference
to an incorrect value for the compression level of pg_dump.
Author: Justin Pryzby
Reviewed-by: Thomas Munro, Michael Paquier
Discussion: https://postgr.es/m/CA+hUKGJRTLWWPcQfjm_xaOk98M8aROK903X92O0x-4vLJPWrrA@mail.gmail.com
-rw-r--r-- | doc/src/sgml/config.sgml | 4 | ||||
-rw-r--r-- | src/bin/pg_dump/pg_backup_archiver.h | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 4b60382778f..048bd6aa08a 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1939,13 +1939,13 @@ include_dir 'conf.d' <listitem> <para> Specifies the amount of memory that should be allocated at server - startup time for use by parallel queries. When this memory region is + startup for use by parallel queries. When this memory region is insufficient or exhausted by concurrent queries, new parallel queries try to allocate extra shared memory temporarily from the operating system using the method configured with <varname>dynamic_shared_memory_type</varname>, which may be slower due to memory management overheads. Memory that is allocated at startup - time with <varname>min_dynamic_shared_memory</varname> is affected by + with <varname>min_dynamic_shared_memory</varname> is affected by the <varname>huge_pages</varname> setting on operating systems where that is supported, and may be more likely to benefit from larger pages on operating systems where that is managed automatically. diff --git a/src/bin/pg_dump/pg_backup_archiver.h b/src/bin/pg_dump/pg_backup_archiver.h index 0847573339b..a8ea5c7eaec 100644 --- a/src/bin/pg_dump/pg_backup_archiver.h +++ b/src/bin/pg_dump/pg_backup_archiver.h @@ -332,7 +332,6 @@ struct _archiveHandle int compression; /*--------- * Compression requested on open(). * Possible values for compression: - * -2 ZSTD_COMPRESSION * -1 Z_DEFAULT_COMPRESSION * 0 COMPRESSION_NONE * 1-9 levels for gzip compression |