1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-26 12:21:12 +03:00
This commit is contained in:
Alvaro Herrera
2018-08-21 17:03:35 -03:00
parent 69c7890441
commit 083651da17

View File

@ -173,7 +173,7 @@ 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 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 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 every such operation. Instead, we retain a cached copy of the metapage
in each each backend's relcache entry. This will produce the correct 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 bucket mapping as long as the target bucket hasn't been split since the
last cache refresh. last cache refresh.