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 1pZPfk-0001iU-8A for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Mar 2023 05:15:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pZPfi-0005LT-8x for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Mar 2023 05:15:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pZPfh-0005LK-Vf for pgsql-hackers@lists.postgresql.org; Tue, 07 Mar 2023 05:15:33 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pZPfe-0000mw-Jq for pgsql-hackers@postgresql.org; Tue, 07 Mar 2023 05:15:33 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 3275FR9W3804661; Tue, 7 Mar 2023 00:15:27 -0500 From: Tom Lane To: "David G. Johnston" cc: Amin , pgsql-hackers@postgresql.org Subject: Re: NumericShort vs NumericLong format In-reply-to: References: Comments: In-reply-to "David G. Johnston" message dated "Mon, 06 Mar 2023 21:46:42 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3804659.1678166127.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 07 Mar 2023 00:15:27 -0500 Message-ID: <3804660.1678166127@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "David G. Johnston" writes: > As an aside, for anyone more fluent than I who reads this, is the use of > the word "dynamic scale" in this code comment supposed to be "display > scale"? > https://github.com/postgres/postgres/blob/cf96907aadca454c4094819c2ecdde= e07eafe203/src/backend/utils/adt/numeric.c#L121 Yeah, I think you're right. regards, tom lane