summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorDavid Rowley2025-12-09 01:41:30 +0000
committerDavid Rowley2025-12-09 01:41:30 +0000
commit52382feb782b76c42552e96f0bc382a87fd7c1e4 (patch)
tree6eec0913885ed51475f98707baaa28beb204e68c /doc/src
parent4a8e6f43a6b56289cd3806b239c20ae31aa4cf2e (diff)
Doc: fix typo in hash index documentation
Plus a similar fix to the README. Backpatch as far back as the sgml issue exists. The README issue does exist in v14, but that seems unlikely to harm anyone. Author: David Geier <geidav.pg@gmail.com> Discussion: https://postgr.es/m/ed3db7ea-55b4-4809-86af-81ad3bb2c7d3@gmail.com Backpatch-through: 15
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/hash.sgml9
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/src/sgml/hash.sgml b/doc/src/sgml/hash.sgml
index 9e69ef91fe8..34f3b2cb0c1 100644
--- a/doc/src/sgml/hash.sgml
+++ b/doc/src/sgml/hash.sgml
@@ -125,11 +125,10 @@
Both scanning the index and inserting tuples require locating the bucket
where a given tuple ought to be located. To do this, we need the bucket
count, highmask, and lowmask from the metapage; however, it's undesirable
- for performance reasons to have to have to lock and pin the metapage for
- every such operation. Instead, we retain a cached copy of the metapage
- in each backend's relcache entry. This will produce the correct bucket
- mapping as long as the target bucket hasn't been split since the last
- cache refresh.
+ for performance reasons to have to lock and pin the metapage for every such
+ operation. Instead, we retain a cached copy of the metapage in each
+ backend's relcache entry. This will produce the correct bucket mapping as
+ long as the target bucket hasn't been split since the last cache refresh.
</para>
<para>