Skip to content
Snippets Groups Projects
Commit 656df624 authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

Add overflow checks to money type input function


The money type input function did not have any overflow checks at all.
There were some regression tests that purported to check for overflow,
but they actually checked for the overflow behavior of the int8 type
before casting to money.  Remove those unnecessary checks and add some
that actually check the money input function.

Reviewed-by: default avatarFabien COELHO <coelho@cri.ensmp.fr>
parent 0dac5b51
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment