Incremental Synchronization Error: PL/pgSQL function *** line *** at SQL statement
Scenarios
During incremental synchronization, an error is reported, and the log information is as follows: service INCREMENT failed, cause by: insert %s failed:tid: %s, sqno: %s, ERROR: %s' PL/pgSQL function %s line %s at SQL statement.
Possible Causes
You can log in to the destination database RDS PostgreSQL and run the following SQL statement to check the value of session_replication_role:
show session_replication_role;
Solution
- On the RDS PostgreSQL console, change the value of session_replication_role to replica and apply the changes.
- 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