BUG #13482: Unable SET DATA TYPE geometry(MultiPolygon) with other geometry type

Поиск
Список
Период
Сортировка
От mailrsatish@gmail.com
Тема BUG #13482: Unable SET DATA TYPE geometry(MultiPolygon) with other geometry type
Дата
Msg-id 20150703020315.1190.64921@wrigleys.postgresql.org
обсуждение исходный текст
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      13482
Logged by:          Satish Rajesh
Email address:      mailrsatish@gmail.com
PostgreSQL version: 9.4.0
Operating system:   Ubuntu
Description:

Hi,

I am trying to the datatype to MultiPolygon but getting the below error due
other geometry type available in the table,

DDL Statement
-----------------
ALTER TABLE output.addresspoi_test ALTER COLUMN geom SET DATA TYPE
geometry(MultiPolygon) USING ST_Multi(geom);

ERROR:  Geometry type (MultiSurface) does not match column type
(MultiPolygon)

 geometrytype |  count
--------------+---------
 MULTIPOLYGON | 3541837
 MULTISURFACE |      37
(2 rows)


Regards,
Satish Rajesh

В списке pgsql-bugs по дате отправления:

Предыдущее
От: bailuding@gmail.com
Дата:
Сообщение: BUG #13481: No config folder upon installation
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #13368: standby cluster immediately promotes after pg_basebackup from previously promoted master