LibPQ.jl icon indicating copy to clipboard operation
LibPQ.jl copied to clipboard

Change the default NUMERIC/DECIMAL output type to something better

Open iamed2 opened this issue 7 years ago • 1 comments

It should be something that supports the full range of the PostgreSQL NUMERIC type, as well as NaN. It does not need to support Inf.

iamed2 avatar Apr 08 '19 17:04 iamed2

I get ArgumentError: invalid BigInt: "NaN" when selecting. Adding , type_map=Dict(:numeric=>BigFloat) wroks for me.

xgdgsc avatar Jul 20 '19 02:07 xgdgsc