Ticket #864 (closed defect: fixed)
shp2pgsql fails to import MULTIPOINTs with only one vertice.
|Reported by:||jadams||Owned by:||jadams|
If a shapefile is a MULTIPOINT type, but one of the points has only one vertice, it will get generated in the insert statement as a POINT type. That then fails to be inserted with:
ERROR: new row for relation "foo" violates check constraint "enforce_geotype_the_geom"