doc: Improve description of min_dynamic_shared_memory
authorMichael Paquier <michael@paquier.xyz>
Tue, 29 Dec 2020 07:49:14 +0000 (16:49 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 29 Dec 2020 07:49:14 +0000 (16:49 +0900)
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

doc/src/sgml/config.sgml
src/bin/pg_dump/pg_backup_archiver.h

index 4b60382778f760f713d63d4b3fa8fbadda99f89b..048bd6aa08a6bd4f6b354508c1234f912d2e125e 100644 (file)
@@ -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.
index 0847573339bfa2d9055d58421f5bdd62e8cb5db4..a8ea5c7eaecd677a148047e7bae1abb96f2fbe02 100644 (file)
@@ -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