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

Started by Keisuke Kuroda10 days ago4 messagesdocs
Jump to latest
#1Keisuke Kuroda
keisuke.kuroda.3862@gmail.com

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

Attachments:

fix_release_note_L_escape.patchapplication/octet-stream; name=fix_release_note_L_escape.patchDownload+2-2
#2Greg Sabino Mullane
greg@turnstep.com
In reply to: Keisuke Kuroda (#1)
Re: Doc: Fix description of %L escape in PostgreSQL 18 release notes

Looks good, thanks for spotting that!

#3Michael Paquier
michael@paquier.xyz
In reply to: Greg Sabino Mullane (#2)
Re: Doc: Fix description of %L escape in PostgreSQL 18 release notes

On Mon, Aug 17, 2026 at 02:04:05PM -0400, Greg Sabino Mullane wrote:

Looks good, thanks for spotting that!

Sounds right to me. Will fix.
--
Michael

#4Keisuke Kuroda
keisuke.kuroda.3862@gmail.com
In reply to: Michael Paquier (#3)
Re: Doc: Fix description of %L escape in PostgreSQL 18 release notes

Thanks for reviewing and committing!