You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fix is to use fallible operations like checked_add and try_from.
An infinity test like test_special_params_without_wrapper should also be added for time. [1].
I have a PR in the works but I will wait for #1164 and #1170 first.
The text was updated successfully, but these errors were encountered:
When constructing
time
types using out-of-range values, panic occurs.This affects most of the
FromSql
andToSql
implementations fortime
0.2 and 0.3.Minimal example here --> allan2/postrgres-time-overflow
The fix is to use fallible operations like
checked_add
andtry_from
.An infinity test like
test_special_params_without_wrapper
should also be added fortime
. [1].I have a PR in the works but I will wait for #1164 and #1170 first.
The text was updated successfully, but these errors were encountered: