Re: pgsql 10.19 : "ERROR: cannot convert infinity to numeric" except there is no infinity - Mailing list pgsql-general

From Achilleas Mantzios
Subject Re: pgsql 10.19 : "ERROR: cannot convert infinity to numeric" except there is no infinity
Date
Msg-id 726207bd-4c38-ca5a-0b14-667470f19788@matrix.gatewaynet.com
Whole thread Raw
In response to Re: pgsql 10.19 : "ERROR: cannot convert infinity to numeric" except there is no infinity  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Στις 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
>
>



pgsql-general by date:

Previous
From: Achilleas Mantzios
Date:
Subject: Re: pgsql 10.19 : "ERROR: cannot convert infinity to numeric" except there is no infinity
Next
From: Imre Samu
Date:
Subject: Re: postgis