Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oDqkk-0001gW-Ua for pgsql-general@arkaria.postgresql.org; Tue, 19 Jul 2022 17:11:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oDqkj-000532-Qs for pgsql-general@arkaria.postgresql.org; Tue, 19 Jul 2022 17:11:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oDqkj-00052s-Go for pgsql-general@lists.postgresql.org; Tue, 19 Jul 2022 17:11:21 +0000 Received: from hermes.gatewaynet.com ([193.92.121.98]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oDqkh-0002qg-HV for pgsql-general@lists.postgresql.org; Tue, 19 Jul 2022 17:11:21 +0000 Received: from hercules.internal.net (hercules.internal.net [10.9.200.8]) by hermes.gatewaynet.com (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTP id 26JHBIMP023354 for ; Tue, 19 Jul 2022 20:11:18 +0300 Received: from [10.9.251.249] (dcmchgw.internal.net [10.9.0.1]) by hercules.internal.net (Postfix) with ESMTP id E01EBE80E3 for ; Tue, 19 Jul 2022 20:11:17 +0300 (EEST) Message-ID: <726207bd-4c38-ca5a-0b14-667470f19788@matrix.gatewaynet.com> Date: Tue, 19 Jul 2022 20:11:16 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: pgsql 10.19 : "ERROR: cannot convert infinity to numeric" except there is no infinity Content-Language: en-US To: pgsql-general@lists.postgresql.org References: <1c9f27e7-459e-2e05-7129-e9e14ca503b7@matrix.gatewaynet.com> <1065325.1658240614@sss.pgh.pa.us> From: Achilleas Mantzios In-Reply-To: <1065325.1658240614@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.103.4 at hermes X-Virus-Status: Clean X-Spam-Status: No, score=-25.9 required=5.0 tests=ALL_TRUSTED,DYN_HAM_IT, DYN_HAM_IT_PARTNERS,DYN_HAM_SIGNAT1,NICE_REPLY_A,TW_PG,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hermes.gatewaynet.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Στις 19/7/22 17:23, ο/η Tom Lane έγραψε: > "David G. Johnston" writes: >> On Tuesday, July 19, 2022, Achilleas Mantzios >> 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 > >