add multipolygon support for postgres

fix error when reading a multipolygon