Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oP4D2-0003lA-4g for pgsql-docs@arkaria.postgresql.org; Fri, 19 Aug 2022 15:46:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oP4D0-0001a3-VP for pgsql-docs@arkaria.postgresql.org; Fri, 19 Aug 2022 15:46:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oP4D0-0001Zu-OB for pgsql-docs@lists.postgresql.org; Fri, 19 Aug 2022 15:46:54 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oP4Cy-0004Di-Cu for pgsql-docs@lists.postgresql.org; Fri, 19 Aug 2022 15:46:53 +0000 Received: from bruce by momjian.us with local (Exim 4.94.2) (envelope-from ) id 1oP4Cw-008fXn-Tv; Fri, 19 Aug 2022 11:46:50 -0400 Date: Fri, 19 Aug 2022 11:46:50 -0400 From: Bruce Momjian To: shangzi.x@columbia.edu, pgsql-docs@lists.postgresql.org Subject: Re: relpages in pg_class Message-ID: References: <166088223067.653.1269023787430415143@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <166088223067.653.1269023787430415143@wrigleys.postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Aug 19, 2022 at 04:10:30AM +0000, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/14/catalog-pg-class.html > Description: > > From source code, the relpage is the number of blocks. But, at the document, > it is written as Size of the on-disk representation of this table in pages > (of size BLCKSZ). Well, blocks and pages are the same size, so I don't see the problem. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Indecision is a decision. Inaction is an action. Mark Batterson