
# 全量同步失败报错，关键词"type 'geometry' does not exist"
#### 场景描述
全量同步期间DRS任务报错，同步日志界面提示：service DATAMOVE failed, cause by: retry structures failed events=the fail structures are \[type=operator, index=2, schema_name=public, object_name=?\|\]reason:\[ERROR: type 'geometry' does not exist\]
#### 可能原因
目标库没有安装postgis插件。
![](https://support.huaweicloud.com/trouble-drs/public_sys-resources/note_3.0-zh-cn.png)
可在目标库RDS for PostgreSQL的相应库（database）中，执行如下SQL进行验证：
```
select * from pg_extension where extname = 'postgis';
```
#### 解决方案
插件对象不同步，同步前请先在目标库安装相应的插件。请按照如下步骤，安装插件后，再重试DRS任务。
1. 使用root用户登录目标库RDS for PostgreSQL的相应库（database）。
2. 执行如下SQL，安装postgis插件。 
   ```
   create extension "postgis";
   ```
   
   
3. 重试DRS任务。
 
