aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2020-08-12 17:04:51 -0700
committerAndres Freund <andres@anarazel.de>2020-08-12 17:04:51 -0700
commitb8443eae72b5c36e6b443a2f09b9c605c61a589d (patch)
tree03eeb252b23aa4d689ac19d6104ea94913133530 /src
parentdc7420c2c9274a283779ec19718d2d16323640c0 (diff)
downloadpostgresql-b8443eae72b5c36e6b443a2f09b9c605c61a589d.tar.gz
postgresql-b8443eae72b5c36e6b443a2f09b9c605c61a589d.zip
Fix out-of-date version reference, grammar.
Time appears to be passing fast. Reported-By: Peter Geoghegan <pg@bowt.ie>
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/nbtree/README2
-rw-r--r--src/backend/access/transam/README2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/nbtree/README b/src/backend/access/nbtree/README
index 781a8f1932d..9692e4cdf64 100644
--- a/src/backend/access/nbtree/README
+++ b/src/backend/access/nbtree/README
@@ -412,7 +412,7 @@ the cost of walking down the tree in such common cases.
The optimization works on the assumption that there can only be one
non-ignorable leaf rightmost page, and so not even a visible-to-everyone
-style interlock required. We cannot fail to detect that our hint was
+style interlock is required. We cannot fail to detect that our hint was
invalidated, because there can only be one such page in the B-Tree at
any time. It's possible that the page will be deleted and recycled
without a backend's cached page also being detected as invalidated, but
diff --git a/src/backend/access/transam/README b/src/backend/access/transam/README
index 6f44ae9ce6a..98acb429b67 100644
--- a/src/backend/access/transam/README
+++ b/src/backend/access/transam/README
@@ -318,7 +318,7 @@ XID less than this could be about to appear in the ProcArray, because of the
XidGenLock interlock discussed above.)
As GetSnapshotData is performance critical, it does not perform an accurate
-oldest-xmin calculation (it used to, until v13). The contents of a snapshot
+oldest-xmin calculation (it used to, until v14). The contents of a snapshot
only depend on the xids of other backends, not their xmin. As backend's xmin
changes much more often than its xid, having GetSnapshotData look at xmins
can lead to a lot of unnecessary cacheline ping-pong. Instead