Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1esgzN-0001kS-0T for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Mar 2018 03:40:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1esgzL-0004T1-Lh for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Mar 2018 03:40:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1esgzL-0004Sr-9L for pgsql-hackers@lists.postgresql.org; Mon, 05 Mar 2018 03:40:35 +0000 Received: from mail-io0-x22c.google.com ([2607:f8b0:4001:c06::22c]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1esgzH-0004jp-9t for pgsql-hackers@postgresql.org; Mon, 05 Mar 2018 03:40:34 +0000 Received: by mail-io0-x22c.google.com with SMTP id b34so16395313ioj.6 for ; Sun, 04 Mar 2018 19:40:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=c5HS5BAkyPbEjv1ATbf6OyAJeEBxIJPSa221pGAmGDo=; b=aetVyXHs4QqvPUzNU6E/7wJhu6Bqbb805XX4vYszynGRmLsw1yrHWJJFgsussFkWGO KNX5Xs+nmvjDTxTBObET5PmgbAnhL88JvcYqsa2P/o3t7Ud1yUkczcgJl+lXrFaqPN3s 3WTaWjJhndOMR3F9HtEEke0YRE6T6ohC1ES2plIdse5Aa3Ja9xp0dvi7MS4THFrwp0/S n7ee8Tdc38FHBueBCnk+fSV3z2XXdSi6lluKp+VawrrfBGs4mgYmdIN2jkccDjatXQwC XulHpKmHVfdEzas3WA6t5kZcAf3NHAC9C3sGB3TgKRaajBTu61fXUdWUNFwLfWHyWlL/ 0rVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=c5HS5BAkyPbEjv1ATbf6OyAJeEBxIJPSa221pGAmGDo=; b=saHBDlq7G/7ywOM2+OPfzgpai9i93h8ldn4SrK5llgGDFwFsuQpK1DejoUSH1SS/+B hgQGdVUEVj5qWjxgW81Uu5RNYFX0tGO0YvP00f81oaPmsfkcwVLiCirJot5nZmNTVkLj 4nO3W74namQKZXd1RxuMVuZPlLtX0TiAI7sexEJo0qwpcrSI48IsfTLxAYK7BB35togq cQlAPUs02tn5LIES6Cy51zR7cKdg5TuwNll7867uqz2hysE5nakN6Nb5fdwQHhYOLB6q sWuv1HSMWjOmxxaE7WG2e2YN/W48PTi6Kzp0FjUS/G5Bs1tTa3wUuINEcSptGIEPBG6T geNw== X-Gm-Message-State: AElRT7HDH6mMLBVV2f1cgo1NRyLba0TK2YsE8k+Idn/XFx9yLvgvPgl2 D6T85y/xnzQpqv1M8y8jh7EQ7w== X-Google-Smtp-Source: AG47ELt/0x3H50BsLpOIQ8bkxUxExP3yaoyFe6UhBFcgNxO59e3iPE2Ij5vseaaByvVEHk5sh1CJvg== X-Received: by 10.107.62.134 with SMTP id l128mr15394360ioa.199.1520221227646; Sun, 04 Mar 2018 19:40:27 -0800 (PST) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id 27sm7497997iog.17.2018.03.04.19.40.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Mar 2018 19:40:27 -0800 (PST) Received: by pryzbyj (Postfix, from userid 1000) id 5F7BB800FD9; Sun, 4 Mar 2018 21:40:26 -0600 (CST) Date: Sun, 4 Mar 2018 21:40:26 -0600 From: Justin Pryzby To: Thomas Munro Cc: Pg Hackers , Robert Haas Subject: Re: Typo in src/backend/access/hash/README Message-ID: <20180305034026.GC23634@telsasoft.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Mar 05, 2018 at 04:30:28PM +1300, Thomas Munro wrote: > Hi, > > Not sure what word was missed here, but I guess "count": > > 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 > +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 I think there's a 2nd typo: |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 remove "our"? > --94eb2c0d4c02fe3e960566a1f43e > Content-Type: application/octet-stream; name="somebody-accidentally-a-word.patch" :) Justin