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:42:35
Message-ID: E1wkDve-000OfT-27@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
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/daf029831d6b89e1a98f72aebcd5023759f6f3c9

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:42:46 pgsql: doc: Fix log_parameter_max_length docs to reference log_min_dura
Previous Message Fujii Masao 2026-07-16 04:42:15 pgsql: doc: Fix log_parameter_max_length docs to reference log_min_dura