postgres.git / summary / log / commit / refs

commit    3282c4c136e4e5ad22d57dbe7a98fbac2962500a
Author:   Bruce Momjian <bruce@momjian.us>
Date:     Thu Mar 29 18:38:32 2018 +0000

    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


src/backend/access/hash/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/access/hash/README b/src/backend/access/hash/README index bb90722778f..21b4a82b0b0 100644 --- a/src/backend/access/hash/README +++ b/src/backend/access/hash/README @@ -189,8 +189,8 @@ reality, InvalidBlockNumber. After computing the ostensibly-correct bucket number based on our cached copy of the metapage, we lock the corresponding primary bucket page and 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 -so, the bucket has certainly been split, because the must originally +the number of buckets stored in our cached copy of the metapage. If +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 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 [parent: 8cdc834647b8]