Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x4mWv-007OFq-22 for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Sep 2026 21:42:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x4mWu-009hVO-1T for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Sep 2026 21:42:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x4mWu-009hVD-0Z for pgsql-hackers@lists.postgresql.org; Thu, 10 Sep 2026 21:42:00 +0000 Received: from mail-qv1-xf2d.google.com ([2607:f8b0:4864:20::f2d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1x4mWs-000000051jf-1vAU for pgsql-hackers@postgresql.org; Thu, 10 Sep 2026 21:41:59 +0000 Received: by mail-qv1-xf2d.google.com with SMTP id 6a1803df08f44-90ccbed6edcso2277766d6.0 for ; Thu, 10 Sep 2026 14:41:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789076517; x=1789681317; darn=postgresql.org; h=content-disposition:content-type:mime-version:message-id:subject:to :from:date:from:to:cc:subject:date:message-id:reply-to:content-type; bh=f9GvamOIKdIGxdfZZhPETeTmhiBTPf0fUuKO7voT0g4=; b=eggZfVXxTE1XWWUK/3wK6BjrDaIwQYulXjCdMXNJJMfh8W+sq9IAtGtTeyOUXJz2OT fikZ6L7l32pVXhvDcEz/NyWmM4MxoLAgaOyOFIZe4CtbRh0OmiG5IYt9wo6C7RcZ9s2M T+w4y76hLawBk60kb060xZ0kf1qFgcKVl5tXouuvoOvYHCZV08WhvpH76QHLnDUkKr+H shq1cYq5+Yl9scCO2vLs9rHAO8SaVkbUZ6MDmpIcgTCuV/z1mZ7eQ/dFa4uL7DPSeqQK /vLjmc4pAPFF8N26UqHlaFb6W7jX10h3Mq+uqn/CHGdyuPz+KZeXoUOVHUnAUbxxUFhp wu1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789076517; x=1789681317; h=content-disposition:content-type:mime-version:message-id:subject:to :from:date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=f9GvamOIKdIGxdfZZhPETeTmhiBTPf0fUuKO7voT0g4=; b=JsRol8SMi1pvVzRnyrTHhaFEXnCNjBAmgKNaq4qmnTn9WC5s8CzopF9B00HbnnRFop 1Oqt+QQz4xUNrsP8S7smcojdI12z8fv780E/lkr6uMH08O3yM1wZt8Db1CKvR1EjI7uD tDlWYOMo7baHAqTQ9E2Bgrqhq5YoHzeDfkyh87A/udrgQggEZDzgrV9PRcSDidRXKIyG Fb0byjEkLg1OfMmWyA7gxnBGS+ltxPuYmXPN4z+csn5pxcyv7icoC6hy4+Ls1IzBIsUi qy3s6QNEtRl3e9bYx6u49dq52PTxFq0RedwD7YKCv+wkXayJ7OgbDURz2UH8akf3E3k1 BuOw== X-Gm-Message-State: AFuF++mj0dOlthekiBVSOR7yK1hgKqP5w8AKb1sFUPeYSPe1whhpwxZr +txs2zJXd/94LPEFM+/RczNI4P+WUydr5Nza49JFE5ec4oGA3YEAX2D3+Hpzmg== X-Gm-Gg: AYBFou03gtT6+yKNoycQoHKALb9cRu8V84GB/28vm3hAakhAKrvkan5aUqPMPTDYtBD 5JQjM1vCv/KG8P7a1KLCJghRFP8jbJA7k/6eJ458qkRoKjgPgb/ZL+62j/i96ZBJB06NhCr4+ii Yy+F/GiVA9qHmR/rZRHbHznbmHhLWsVA3P6W4cvzI00NoT+Snlmz9WrPdShVPLEl8kHecW8UF1r DkU17gEHpg4MGBgsW8cjtKwRJMRw49edlK0vTEvO2OxK8uxBgXHgJPgb9oPpzP9BV3XomUSXDOd GIaCohpovFwsxP/OAk3K9qQhOFkRwYMCnfhP0QIFY7j3co4XQ4ahpOSfNvMZkJ3e/T4D0kdXd05 +qeiieNTxRacvs9z2G04VRRbnclZWj2Dxrrspoactma9frDU/GIQHrdzE4/DXEwBbiPpjjWIUrA XsJcl0I/Vr9Vv6C/kZIbOt7AyGDifKlKuX3AHBH7mGENNIi/ZkPYuX0QTujsXCggPQwHTmFi0wQ 6WWvRYajZ+Ox3uUzGhSEZzMuKEW4tUXrgdpX3MVvEUg+yQ5IP+nQ+WpXOAkJW7on6lE6QbRpdl0 1vj7W6kfWBwogXPPySpUtkpmQQ== X-Received: by 2002:a05:6214:328c:b0:910:6435:365c with SMTP id 6a1803df08f44-91212088e35mr12660346d6.16.1789076517489; Thu, 10 Sep 2026 14:41:57 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-9120f4d3779sm5517116d6.43.2026.09.10.14.41.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2026 14:41:56 -0700 (PDT) Date: Thu, 10 Sep 2026 16:41:54 -0500 From: Nathan Bossart To: pgsql-hackers@postgresql.org Subject: fixes for a few GUC descriptions Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="bzsiUY6ytin3Z2ba" Content-Disposition: inline List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --bzsiUY6ytin3Z2ba Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Some new parameters added since commit 977d865c36 do not follow the GUC description rules established by that commit. I've attached a patch to fix them. -- nathan --bzsiUY6ytin3Z2ba Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=v1-0001-Describe-special-values-in-more-GUC-descriptions.patch From a5a85c3f701631e148fe05613b0ec0b7d83776eb Mon Sep 17 00:00:00 2001 From: Nathan Bossart Date: Thu, 10 Sep 2026 16:35:45 -0500 Subject: [PATCH v1 1/1] Describe special values in more GUC descriptions. Commit 977d865c36 established some rules for mentioning special values (e.g., -1, 0, an empty string) in GUC descriptions. A few parameters either neglect to mention their special values or describe them in a way that doesn't follow those rules. Most of these parameters were added after the aforementioned commit, but one was simply missed. This commit fixes them. --- src/backend/utils/misc/guc_parameters.dat | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/backend/utils/misc/guc_parameters.dat b/src/backend/utils/misc/guc_parameters.dat index 93a434858bf..9f2d739ebc3 100644 --- a/src/backend/utils/misc/guc_parameters.dat +++ b/src/backend/utils/misc/guc_parameters.dat @@ -1303,6 +1303,7 @@ { name => 'idle_replication_slot_timeout', type => 'int', context => 'PGC_SIGHUP', group => 'REPLICATION_SENDING', short_desc => 'Sets the duration a replication slot can remain idle before it is invalidated.', + long_desc => '0 disables the timeout.', flags => 'GUC_UNIT_S', variable => 'idle_replication_slot_timeout_secs', boot_val => '0', @@ -1389,6 +1390,7 @@ { name => 'io_max_concurrency', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_IO', short_desc => 'Max number of IOs that one process can execute simultaneously.', + long_desc => '-1 means use a value based on "shared_buffers" and the maximum number of processes.', variable => 'io_max_concurrency', boot_val => '-1', min => '-1', @@ -1876,7 +1878,7 @@ { name => 'log_statement_max_length', type => 'int', context => 'PGC_SUSET', group => 'LOGGING_WHAT', short_desc => 'Sets the maximum length in bytes of logged statement text.', - long_desc => '-1 means log statement in full; 0 means log only an ellipsis.', + long_desc => '-1 means log statements in full. 0 means log only an ellipsis.', flags => 'GUC_UNIT_BYTE', variable => 'log_statement_max_length', boot_val => '-1', @@ -2368,7 +2370,7 @@ { name => 'password_expiration_warning_threshold', type => 'int', context => 'PGC_SIGHUP', group => 'CONN_AUTH_AUTH', short_desc => 'Threshold for password expiration warnings.', - long_desc => '0 means not to emit these warnings.', + long_desc => '0 disables these warnings.', flags => 'GUC_UNIT_S', variable => 'password_expiration_warning_threshold', boot_val => '604800', @@ -3580,7 +3582,7 @@ { name => 'wal_sender_shutdown_timeout', type => 'int', context => 'PGC_USERSET', group => 'REPLICATION_SENDING', short_desc => 'Sets the maximum time the server waits during shutdown for all WAL data to be replicated to the receiver.', - long_desc => '-1 disables the timeout and waits for the receiver to catch up; 0 does not wait for the receiver to catch up.', + long_desc => '-1 disables the timeout. 0 means do not wait for the receiver to catch up.', flags => 'GUC_UNIT_MS', variable => 'wal_sender_shutdown_timeout', boot_val => '-1', @@ -3590,6 +3592,7 @@ { name => 'wal_sender_timeout', type => 'int', context => 'PGC_USERSET', group => 'REPLICATION_SENDING', short_desc => 'Sets the maximum time to wait for WAL replication.', + long_desc => '0 disables the timeout.', flags => 'GUC_UNIT_MS', variable => 'wal_sender_timeout', boot_val => '60 * 1000', -- 2.55.0 --bzsiUY6ytin3Z2ba--