Re: Infinities in type numeric
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-06-12T16:51:18Z
Lists: pgsql-hackers
On Thu, Jun 11, 2020 at 9:16 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: > We had a discussion recently about how it'd be a good idea to support > infinity values in type numeric [1]. Only a minority of that discussion was actually on that topic, and I'm not sure there was a clear consensus in favor of it. FWIW, I don't particularly like the idea. Back when I was an application developer, I remember having to insert special cases into any code that dealt with double precision to deal with +/-Inf and NaN. I was happy that I didn't need them for numeric, too. So this change would have made me sad. It's possible I'm the only one, though. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
-
Support infinity and -infinity in the numeric data type.
- a57d312a7706 14.0 landed