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

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

Very well, thanks very much.

pg

 

From: Bruce Momjian <bruce@momjian.us>
Sent: Monday, August 31, 2020 5:31 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 10:20:51PM +0000, Godfrin, Philippe E wrote:
> Frankly, I’m not certain, I believe the developers are using a messaging
> intermediary.

Oh, well, then you would need to find out if they are transfering the
value via text or binary. It is kind of hard to extract query results
as binary, but it is technically possible with binary COPY or triggers.

---------------------------------------------------------------------------

>
> pg
>
>
>
> From: Bruce Momjian <bruce@momjian.us>
> Sent: Monday, August 31, 2020 5:19 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 10:14:48PM +0000, Godfrin, Philippe E wrote:
> > Fabulous, thanks much.
>
> You still have not told us how you are transfering the data, so we can
> be sure.
>
> ---------------------------------------------------------------------------
>
> >
> > 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
> >
>
> --
> Bruce Momjian <bruce@momjian.us> https://momjian.us
> EnterpriseDB https://enterprisedb.com
>
> The usefulness of a cup is in its emptiness, Bruce Lee
>

--
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: Junfeng Yang
Date:
Subject: 回复: 回复: Is it possible to set end-of-data marker for COPY statement.
Next
From: Dirk Lattermann
Date:
Subject: Re: Trigger transaction isolation