Re: money type's overflow handling is woefully incomplete - Mailing list pgsql-hackers

From Andres Freund
Subject Re: money type's overflow handling is woefully incomplete
Date
Msg-id 20171212215022.k47fnly4ivsxswne@alap3.anarazel.de
Whole thread Raw
In response to Re: money type's overflow handling is woefully incomplete  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: money type's overflow handling is woefully incomplete
List pgsql-hackers
On 2017-12-12 16:47:17 -0500, Tom Lane wrote:
> Really?  We've got test cases that intentionally exercise overflow
> in the money code?  I think we could just drop such tests, until
> such time as someone fixes the issue.

Some parts at least (input & output), I think it's easy enough to fix
those up.


> (OTOH, I bet we could drop reltime/abstime without too many complaints.
> Y2038 is coming.)

I'm actually about to send a patch doing so, that code is one mess WRT
overflow handling.

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: money type's overflow handling is woefully incomplete
Next
From: Robert Haas
Date:
Subject: Re: explain analyze output with parallel workers - question aboutmeaning of information for explain.depesz.com