pgsql: Fix comments after returning paths by value

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix comments after returning paths by value
Date: 2026-11-18 12:52:00
Message-ID: E1xTf8p-00000000Ers-3iG0@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix comments after returning paths by value

Commit ecbff4378be changed _mdfd_segpath() to return an MdPathStr by
value, but forgot to update the comment accordingly. Fix it.

Also fix the maximum-length path example in the comment introduced by
commit 37c87e63f9e, to include the fork name.

Author: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/CAN55FZ0LsWUC3EoFLo5c6SO-AddX99k-6Me079TZOuDL579f6w@mail.gmail.com
Backpatch-through: 18

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/247d88cfc2c609d224cbdee534f7da72a8527a2b

Modified Files
--------------
src/backend/storage/smgr/md.c | 3 +--
src/include/common/relpath.h | 4 ++--
2 files changed, 3 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Previous Message Fujii Masao 2026-11-18 07:10:53 pgsql: Fix temporary relation I/O statistics in single-user mode