Promote to MULTI

Often polygons and linestrings can infact be multipolygons and linestrings and it is impossible to load mixed features into a PostGIS database table where you have declared a particular geometry type.

So if you are using ogr2ogr to translate or load your data you can use the -nlt switch with a new option PROMOTE_TO_MULTI (from GDAL 1.10) to make them multi.

ogr2ogr -update -append -nlt PROMOTE_TO_MULTI -f PostgreSQL PG:dbname=warmerda abc.tab