pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: pgsql 10.19 : "ERROR: cannot convert infinity to numeric" except there is no infinity
Date: Tue, 19 Jul 2022 20:11:16 +0300
Message-ID: <726207bd-4c38-ca5a-0b14-667470f19788@matrix.gatewaynet.com> (raw)
In-Reply-To: <1065325.1658240614@sss.pgh.pa.us>
References: <1c9f27e7-459e-2e05-7129-e9e14ca503b7@matrix.gatewaynet.com>
	<CAKFQuwZ6o+ZLKmAsnD2gGj+qxRvtQRs7JOQrn8jW9tP=M2N0MA@mail.gmail.com>
	<1065325.1658240614@sss.pgh.pa.us>


Στις 19/7/22 17:23, ο/η Tom Lane έγραψε:
> "David G. Johnston" <david.g.johnston@gmail.com> writes:
>> On Tuesday, July 19, 2022, Achilleas Mantzios <achill@matrix.gatewaynet.com>
>> wrote:
>>> ERROR:  cannot convert infinity to numeric
>> The column cept.value contains an infinity.  I see nothing unusual in any
>> of these queries given that fact.  If you try to cast the infinity to
>> numeric it will fail.  If that doesn’t happen the query won’t fail.
> FWIW, PG 14 and later do support infinity in the numeric type.
Yes I noticed that, thank you Tom, I hope we'll be able to upgrade in 
the near future.
>
> 			regards, tom lane
>
>





view thread (13+ messages)  latest in thread

Message-ID: <726207bd-4c38-ca5a-0b14-667470f19788@matrix.gatewaynet.com>
Permalink:  ../726207bd-4c38-ca5a-0b14-667470f19788@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/726207bd-4c38-ca5a-0b14-667470f19788@matrix.gatewaynet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: achill@matrix.gatewaynet.com
  Subject: Re: pgsql 10.19 : "ERROR: cannot convert infinity to numeric" except there is no infinity
  In-Reply-To: <726207bd-4c38-ca5a-0b14-667470f19788@matrix.gatewaynet.com>
  References: <1c9f27e7-459e-2e05-7129-e9e14ca503b7@matrix.gatewaynet.com> <CAKFQuwZ6o+ZLKmAsnD2gGj+qxRvtQRs7JOQrn8jW9tP=M2N0MA@mail.gmail.com> <1065325.1658240614@sss.pgh.pa.us> <726207bd-4c38-ca5a-0b14-667470f19788@matrix.gatewaynet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox