Doc: Fix description of %L escape in PostgreSQL 18 release notes

From: Keisuke Kuroda <keisuke(dot)kuroda(dot)3862(at)gmail(dot)com>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Doc: Fix description of %L escape in PostgreSQL 18 release notes
Date: 2026-08-14 06:13:40
Message-ID: CANDwggK8AZJx+tGKY+h_8a90rqZ_+4dvGOFvDuRVVSjQvAafbg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Hi hackers,

I noticed a small mistake in the PostgreSQL 18 release notes
(release-18.sgml) regarding the new %L escape for log_line_prefix.

Currently, the release note says that %L outputs the "client" IP address:

---
Add <xref linkend="guc-log-line-prefix"/> escape
<literal>%L</literal> to output the client <acronym>IP</acronym>
address (Greg Sabino Mullane)
---

However, %L actually outputs the local IP address of the server. The
documentation for log_line_prefix describes %L as:

> "Local address (the IP address on the server that the client connected to)"

Attached is a patch to correct this in the release notes:

---
Add <xref linkend="guc-log-line-prefix"/> escape
<literal>%L</literal> to output the local <acronym>IP</acronym>
address on the server that the client connected to (Greg Sabino Mullane)
---

Best Regards,
Keisuke Kuroda

Attachment Content-Type Size
fix_release_note_L_escape.patch application/octet-stream 683 bytes

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Greg Sabino Mullane 2026-08-17 18:04:05 Re: Doc: Fix description of %L escape in PostgreSQL 18 release notes
Previous Message Peter Eisentraut 2026-08-12 11:58:26 Re: slightly confusing "contents of views"