Re: BUG #18240: Undefined behaviour in cash_mul_flt8() and friends

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, David Rowley <dgrowleyml(at)gmail(dot)com>, exclusion(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18240: Undefined behaviour in cash_mul_flt8() and friends
Date: 2023-12-25 01:09:12
Message-ID: 95e42d647797220ae2c2e0574caef3643e641f03.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sun, 2023-12-24 at 13:21 -0500, Tom Lane wrote:
> "Jonathan S. Katz" <jkatz(at)postgresql(dot)org> writes:
> > I'm of the strong opinion that we should get rid of money. I personally
> > haven't encountered it in the wild -- I'm sure it's there, but it seems
> > limited -- and most apps that seriously deal with money will either user
> > either "numeric" or an integer-based type.
>
> Yeah, maybe we should just do it. I was pleasantly surprised by how
> little push-back we got from nuking the 32-bit datetime types a few
> releases ago; perhaps this one would likewise not have much of a
> constituency.

There are questions on Stackoverflow:
https://stackoverflow.com/search?q=%5Bpostgresql%5D+money

But of course it is hard to say if these are production uses or just
experiments.

Yours,
Laurenz Albe

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Noah Misch 2023-12-25 02:44:02 Re: BUG #17257: (auto)vacuum hangs within lazy_scan_prune()
Previous Message Michael Paquier 2023-12-25 00:52:53 Re: BUG #18240: Undefined behaviour in cash_mul_flt8() and friends