aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtsuro Fujita <efujita@postgresql.org>2023-11-13 19:05:08 +0900
committerEtsuro Fujita <efujita@postgresql.org>2023-11-13 19:05:08 +0900
commit7b6ba8c4315e5657fd90bad91c552fca58dc87fd (patch)
treee2abad01f8ef5d77f33e3ae71a5d7f9023bf91c9
parent2be56450758850282cb5cf667430d1ece64de955 (diff)
downloadpostgresql-7b6ba8c4315e5657fd90bad91c552fca58dc87fd.tar.gz
postgresql-7b6ba8c4315e5657fd90bad91c552fca58dc87fd.zip
Remove incorrect file reference in comment.
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
-rw-r--r--src/backend/storage/ipc/procarray.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c
index 20f989b8180..1cdd3d3f3e5 100644
--- a/src/backend/storage/ipc/procarray.c
+++ b/src/backend/storage/ipc/procarray.c
@@ -1523,8 +1523,7 @@ GetMaxSnapshotSubxidCount(void)
* 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