Hi,
I understand why would you be reluctant to do automatic correction. However,
the shapelib library, which shp2pgsql directly uses, does do automatic
correction.
I agree: any mistake in the dbf should be reported. However, I believe that, at
the very least, a switch should be supported that
> aman.verma at mcgill.ca wrote..
>If you use shp2pgsql to upload a shapefile with an attribute table that has
a malformed integer
>(like a letter), shp2pgsql will not correct it, and the upload will fail.
>Normally, I would view this as 'expected behaviour' (garbage in, garbage
out). However, I