Re: pgsql 10.19 : "ERROR: cannot convert infinity to numeric" except there is no infinity

From: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql 10.19 : "ERROR: cannot convert infinity to numeric" except there is no infinity
Date: 2022-07-19 17:11:16
Message-ID: 726207bd-4c38-ca5a-0b14-667470f19788@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Στις 19/7/22 17:23, ο/η Tom Lane έγραψε:
> "David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
>> On Tuesday, July 19, 2022, Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)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
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Imre Samu 2022-07-19 17:19:54 Re: postgis
Previous Message Achilleas Mantzios 2022-07-19 17:10:06 Re: pgsql 10.19 : "ERROR: cannot convert infinity to numeric" except there is no infinity