@Ronny Carlansson I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer
Error Message:
- pgcopydb failed with unknown errors.
Issue:
- You are trying to perform an online migration on one database from a Postgres single server (v10.23) to a flexible server (v16), but encountered an error while reading the WAL logs. The error message states that "pgcopydb failed with unknown errors".
Solution:
- As you stated you have resolved the issue by enabling
quote_all_identifiers
, the online migration was successful
If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.
Please remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution.
Regards Geetha