Re: money type's overflow handling is woefully incomplete

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: money type's overflow handling is woefully incomplete
Дата
Msg-id 20171212215022.k47fnly4ivsxswne@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: money type's overflow handling is woefully incomplete  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: money type's overflow handling is woefully incomplete  (Michael Paquier <michael.paquier@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: money type's overflow handling is woefully incomplete
Следующее
От: Robert Haas
Дата:
Сообщение: Re: explain analyze output with parallel workers - question aboutmeaning of information for explain.depesz.com