Re: GetRelationPath() vs critical sections

From: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: GetRelationPath() vs critical sections
Date: 2026-09-16 12:14:11
Message-ID: CAN55FZ0LsWUC3EoFLo5c6SO-AddX99k-6Me079TZOuDL579f6w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Tue, 25 Feb 2025 at 17:24, Andres Freund <andres(at)anarazel(dot)de> wrote:
>
> And pushed.

I realized that some comments are stale following this work.

1. _mdfd_segpath() no longer returns palloc'd string.
2. Example at the REL_PATH_STR_MAXLEN comment misses forkNames[forkNumber].

Attached patch fixes these.

--
Regards,
Nazir Bilal Yavuz
Microsoft

Attachment Content-Type Size
v1-0001-Fix-comments-after-returning-paths-by-value.patch text/x-patch 1.9 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Shinya Kato 2026-09-16 12:14:35 Re: Add TOAST statistics columns to pg_stat_all_tables
Previous Message Jakub Wartak 2026-09-16 12:02:09 Re: [(known) BUG] DELETE/UPDATE more than one row in partitioned foreign table