Doc: Fix description of %L escape in PostgreSQL 18 release notes
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
Looks good, thanks for spotting that!
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