Re: Incorrect file reference in comment in procarray.c - Mailing list pgsql-hackers

From Etsuro Fujita
Subject Re: Incorrect file reference in comment in procarray.c
Date
Msg-id CAPmGK17xBNsstecZ91c4=0v83dWRs+ip2_qjE_rUQU2LBDx=HQ@mail.gmail.com
Whole thread Raw
In response to Re: Incorrect file reference in comment in procarray.c  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Incorrect file reference in comment in procarray.c
List pgsql-hackers
On Thu, Nov 2, 2023 at 10:20 PM Daniel Gustafsson <daniel@yesql.se> wrote:
> > On 2 Nov 2023, at 13:40, Etsuro Fujita <etsuro.fujita@gmail.com> wrote:
> > Attached is a small patch for that: s/heapam_visibility.c/snapmgr.c/.
>
> No objections to the patch, the change is correct.  However, with git grep and
> ctags and other ways of discovery I wonder if we're not better off avoiding
> such references to filenames which are prone to going stale (and do from time
> to time).

Agreed.  As XidInMVCCSnapshot() is an extern function, such a tool
would allow the reader to easily find the source file that contains
the definition of that function.

Thanks for the comment!

Best regards,
Etsuro Fujita



pgsql-hackers by date:

Previous
From: Jelte Fennema-Nio
Date:
Subject: Re: Report search_path value back to the client.
Next
From: John Naylor
Date:
Subject: Re: Pre-proposal: unicode normalized text