mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
README change: update for hash access method
Reported-by: Thomas Munro, Justin Pryzby Discussion: https://postgr.es/m/CAEepm=1_682z-09DNHj4GkCJAqWK-D6h9Oq5ea84T1oqq1-Utg@mail.gmail.com
This commit is contained in:
@ -189,8 +189,8 @@ reality, InvalidBlockNumber.
|
|||||||
After computing the ostensibly-correct bucket number based on our cached
|
After computing the ostensibly-correct bucket number based on our cached
|
||||||
copy of the metapage, we lock the corresponding primary bucket page and
|
copy of the metapage, we lock the corresponding primary bucket page and
|
||||||
check whether the bucket count stored in hasho_prevblkno is greater than
|
check whether the bucket count stored in hasho_prevblkno is greater than
|
||||||
our the number of buckets stored in our cached copy of the metapage. If
|
the number of buckets stored in our cached copy of the metapage. If
|
||||||
so, the bucket has certainly been split, because the must originally
|
so, the bucket has certainly been split, because the count must originally
|
||||||
have been less than the number of buckets that existed at that time and
|
have been less than the number of buckets that existed at that time and
|
||||||
can't have increased except due to a split. If not, the bucket can't have
|
can't have increased except due to a split. If not, the bucket can't have
|
||||||
been split, because a split would have created a new bucket with a higher
|
been split, because a split would have created a new bucket with a higher
|
||||||
|
Reference in New Issue
Block a user