RE: [EXTERNAL] Re: Numeric data types - Mailing list pgsql-general

From Godfrin, Philippe E
Subject RE: [EXTERNAL] Re: Numeric data types
Date
Msg-id SA0PR15MB39333A9C8DB365884CB2860F82510@SA0PR15MB3933.namprd15.prod.outlook.com
Whole thread Raw
In response to Re: [EXTERNAL] Re: Numeric data types  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [EXTERNAL] Re: Numeric data types
List pgsql-general

Fabulous, thanks much.

 

From: Bruce Momjian <bruce@momjian.us>
Sent: Monday, August 31, 2020 4:56 PM
To: Godfrin, Philippe E <Philippe.Godfrin@nov.com>
Cc: pgsql-general@postgresql.org
Subject: Re: [EXTERNAL] Re: Numeric data types

 

On Mon, Aug 31, 2020 at 05:32:23PM +0000, Godfrin, Philippe E wrote:
> Thanks Bruce, I suppose you mean n32 -> n64 OK, but n64->n32 chance of 32-bit
> overflow…

Uh, I was thinking that your 32-bit values could roll over and the other
end would be confused, but I can also see the 64-bit going above the
32-bit range. As long as everything stays < 32-bits, you should be
fine. We don't transfer binary values very often.

--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com

The usefulness of a cup is in its emptiness, Bruce Lee

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [EXTERNAL] Re: Numeric data types
Next
From: Bruce Momjian
Date:
Subject: Re: [EXTERNAL] Re: Numeric data types