Skip to content

Commit 4007cff

Browse files
Etsuro Fujitapull[bot]
authored andcommitted
Remove incorrect file reference in comment.
Commit b7eda3e moved XidInMVCCSnapshot() from tqual.c into snapmgr.c, but follow-up commit c91560d 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
1 parent e1ad47c commit 4007cff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/storage/ipc/procarray.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2140,8 +2140,7 @@ GetSnapshotDataReuse(Snapshot snapshot)
21402140
* but since PGPROC has only a limited cache area for subxact XIDs, full
21412141
* information may not be available. If we find any overflowed subxid arrays,
21422142
* we have to mark the snapshot's subxid data as overflowed, and extra work
2143-
* *may* need to be done to determine what's running (see XidInMVCCSnapshot()
2144-
* in heapam_visibility.c).
2143+
* *may* need to be done to determine what's running (see XidInMVCCSnapshot()).
21452144
*
21462145
* We also update the following backend-global variables:
21472146
* TransactionXmin: the oldest xmin of any snapshot in use in the

0 commit comments

Comments
 (0)