Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Remove incorrect file reference in comment.
authorEtsuro Fujita <efujita@postgresql.org>
Mon, 13 Nov 2023 10:05:04 +0000 (19:05 +0900)
committerEtsuro Fujita <efujita@postgresql.org>
Mon, 13 Nov 2023 10:05:04 +0000 (19:05 +0900)
Commit b7eda3e0e moved XidInMVCCSnapshot() from tqual.c into snapmgr.c,
but follow-up commit c91560def incorrectly updated this reference.  We
could fix it, but as pointed out by Daniel Gustafsson, 1) the reader can
easily find the file that contains the definition of that function, e.g.
by grepping, and 2) this kind of reference is prone to going stale; so
let's just remove it.

Back-patch to all supported branches.

Reviewed by Daniel Gustafsson.

Discussion: https://postgr.es/m/CAPmGK145VdKkPBLWS2urwhgsfidbSexwY-9zCL6xSUJH%2BBTUUg%40mail.gmail.com

src/backend/storage/ipc/procarray.c

index 7541ad1203a4e6e023a88a2a9deaa712f9277316..638be28076c5bcb1f9e33d9d0e32ab196e9c3c1c 100644 (file)
@@ -2221,8 +2221,7 @@ GetSnapshotDataReuse(Snapshot snapshot)
  * but since PGPROC has only a limited cache area for subxact XIDs, full
  * 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 heapam_visibility.c).
+ * *may* need to be done to determine what's running (see XidInMVCCSnapshot()).
  *
  * We also update the following backend-global variables:
  *     TransactionXmin: the oldest xmin of any snapshot in use in the