Full Synchronization Error: type 'geometry' does not exist
Scenarios
During full synchronization, an error is reported, and the log information is as follows: 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].
Possible Causes
Run the following SQL statement in the destination RDS for PostgreSQL database:
select * from pg_extension where extname = 'postgis';
Solution
Extensions are not synchronized. Before synchronization, install the corresponding extension in the destination database. Perform the following steps to install the extension and retry the DRS task:
- Log in to the destination RDS for PostgreSQL database as the root user.
- Run the following SQL statements to install postgis:
create extension "postgis";
- Retry the DRS task.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot