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-00000000Erq-3dLq@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
------
master

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

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
Next Message Heikki Linnakangas 2026-11-18 14:14:12 pgsql: Add PG_TEST_SERVER_POSTGRES_OPTS to inject server GUCs in tests
Previous Message Fujii Masao 2026-11-18 07:10:53 pgsql: Fix temporary relation I/O statistics in single-user mode