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

From Bruce Momjian
Subject Re: [EXTERNAL] Re: Numeric data types
Date
Msg-id 20200831223104.GD13608@momjian.us
Whole thread Raw
In response to RE: [EXTERNAL] Re: Numeric data types  ("Godfrin, Philippe E" <Philippe.Godfrin@nov.com>)
Responses RE: [EXTERNAL] Re: Numeric data types  ("Godfrin, Philippe E" <Philippe.Godfrin@nov.com>)
List pgsql-general
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: "Godfrin, Philippe E"
Date:
Subject: RE: [EXTERNAL] Re: Numeric data types
Next
From: Kyotaro Horiguchi
Date:
Subject: Re: How bad is using queries with thousands of values for operators IN or ANY?