Incorrect file reference in comment in procarray.c

From: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Incorrect file reference in comment in procarray.c
Date: 2023-11-02 12:40:35
Message-ID: CAPmGK145VdKkPBLWS2urwhgsfidbSexwY-9zCL6xSUJH+BTUUg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

While working on something else, I noticed $SUBJECT: commit b7eda3e0e
moved XidInMVCCSnapshot() from tqual.c into snapmgr.c, but follow-up
commit c91560def updated this reference incorrectly:

@@ -1498,7 +1498,7 @@ GetMaxSnapshotSubxidCount(void)
* information may not be available. If we find any overflowed subxid arrays,
* we have to mark the snapshot's subxid data as overflowed, and extra work
* *may* need to be done to determine what's running (see XidInMVCCSnapshot()
- * in tqual.c).
+ * in heapam_visibility.c).

Attached is a small patch for that: s/heapam_visibility.c/snapmgr.c/.

Best regards,
Etsuro Fujita

Attachment Content-Type Size
fix-file-reference-in-comment.patch application/octet-stream 684 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marius RAICU 2023-11-02 12:50:55 Re: BUG #18167: cannot create partitioned tables when default_tablespace is set
Previous Message Shlok Kyal 2023-11-02 12:25:20 Re: Force the old transactions logs cleanup even if checkpoint is skipped