Skip to content

Commit ee4fabf

Browse files
author
Etsuro Fujita
committed
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 6bf2efb commit ee4fabf

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
@@ -2171,8 +2171,7 @@ GetSnapshotDataReuse(Snapshot snapshot)
21712171
* but since PGPROC has only a limited cache area for subxact XIDs, full
21722172
* information may not be available. If we find any overflowed subxid arrays,
21732173
* we have to mark the snapshot's subxid data as overflowed, and extra work
2174-
* *may* need to be done to determine what's running (see XidInMVCCSnapshot()
2175-
* in heapam_visibility.c).
2174+
* *may* need to be done to determine what's running (see XidInMVCCSnapshot()).
21762175
*
21772176
* We also update the following backend-global variables:
21782177
* TransactionXmin: the oldest xmin of any snapshot in use in the

0 commit comments

Comments
 (0)