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

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

Thanks Bruce, I suppose you mean n32 -> n64 OK, but n64->n32 chance of 32-bit overflow…

pg

 

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

 

On Mon, Aug 31, 2020 at 04:38:05PM +0000, Godfrin, Philippe E wrote:
> Greetings Listees (frist time poster!)
>
>
>
> Considering the difference between 64 bit and 32 bit numeric datatypes. We have
> source databases that are running 32 bit. They send their data to a larger
> cluster that is running 64 bit. Should there be something special done in order
> to accommodate the difference?

How is the data sent? In almost every case, the translation should work
fine. I think 32-bit overflow should be your only concern here.

--
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: Numeric data types
Next
From: Susan Hurst
Date:
Subject: Function Speed vs UI Function Speed