Feature request #13933
Updated by Alexander Bruy almost 7 years ago
I was trying to import a vector into Postgis using "Import vector into POSTGIS (available connections and new connection)" (OGR Miscellaneous) and got these kinds of errors which, I think, are caused by one of the fields having high precision.
ERROR 1: COPY statement failed.
ERROR: numeric field overflow
DETAIL: A field with precision 19, scale 15 must round to an absolute value less than 10^4.
CONTEXT: COPY teste1, line 58, column perimeter: "15814.399999999999636"
If I uncheck "Keep width and precision of input attributes" it works.
I would suggest add a note on this to the help file
ERROR 1: COPY statement failed.
ERROR: numeric field overflow
DETAIL: A field with precision 19, scale 15 must round to an absolute value less than 10^4.
CONTEXT: COPY teste1, line 58, column perimeter: "15814.399999999999636"
If I uncheck "Keep width and precision of input attributes" it works.
I would suggest add a note on this to the help file