pgsql: doc: Fix log_parameter_max_length docs to reference log_min_dura

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Fix log_parameter_max_length docs to reference log_min_dura
Date: 2026-07-16 04:41:24
Message-ID: E1wkDuV-000ObM-33@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

doc: Fix log_parameter_max_length docs to reference log_min_duration_statement

The documentation for log_parameter_max_length said it affects messages
generated by log_duration. However, log_duration alone does not log bind
parameter values, so this is misleading.

This commit updates the documentation to reference log_min_duration_statement,
which can log bind parameters, to better reflect actual behavior.

Backpatch to all supported versions.

Author: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Reviewed-by: Surya Poondla <suryapoondla4(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAHGQGwGnCVMVz8-LU9F8Sh57bkQX3jMZzx7age7M0LFEz5=Fog@mail.gmail.com
Backpatch-through: 14

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/89e78de0436c3ba1710431df8c3e8dd6415f7134

Modified Files
--------------
doc/src/sgml/config.sgml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2026-07-16 04:41:52 pgsql: doc: Fix log_parameter_max_length docs to reference log_min_dura
Previous Message Melanie Plageman 2026-07-15 21:44:24 pgsql: Introduce macros for WAL block reference IDs of some heap record